Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 03-08-2004, 10:24   #1 (permalink)
Neuer User
 
Registriert seit: Aug 2004
Beiträge: 1
loadvariablesNum aus txt Hilfe

Hallo
ich habe bei einen menue folgendes erstellt.
Und möchte aus einer txt.datei jeweils den einzelen Text im scroller anzeigen.

function bOver(param) {
myColor = new Color(param);
myColor.setRGB(101342);
}
function bOut(param) {
myColor = new Color(param);
myColor.setRGB(14145495);
}
function bmOver(param) {
myColor = new Color(param);
myColor.setRGB(101342);
}
function bmOut(param) {
myColor = new Color(param);
myColor.setRGB(10066329);
}
function bPress(param, logo, vis) {
loadMovie((("sideDeck2004/" + param) + ".jpg"), "_parent._parent.bike");
_parent._parent.scroller.setAutoHideScrollBar(true );
_parent._parent.gotoAndStop("main");
_parent._parent.brand.gotoAndStop(logo);
}
loadVariables("sideDeck2004/bikes2004.txt", this);
stop();


Es wird aber nichts aus der txt.datei geladen ??
Ein Button siegt so aus:

on (rollOver) {
bOver("s6");
}
on (rollOut) {
bOut("s6");
}
on (press) {
bPress("r1_6", "special");
_parent._parent.desc2 = r1_6a;
_parent._parent.spec = r1_6b;
_parent._parent.scroller.html = true;
_parent._parent.scroller.htmlText = this.r1_6;
}


Und die txt.datei so:nur ein ausschnitt!

r1_1a=
&r1_1b=<a href="" target="_blank">CLICK HERE FOR SPECS</a>
&r1_1=
&r1_2a=
&r1_2b=<a href="" target="_blank">CLICK HERE FOR SPECS</a>
&r1_2=
&r1_3a=
&r1_3b=<a href="" target="_blank">CLICK HERE FOR SPECS</a>
&r1_3=
&r1_4a=
&r1_4b=<a href="" target="_blank">CLICK HERE FOR SPECS</a>
&r1_4=
&r1_5a=
&r1_5b=<a href="" target="_blank">CLICK HERE FOR SPECS</a>
&r1_5=
&r1_6a=ROUBAIX
&r1_6b=<a href="http://www.specialized.com/SBCBkFamily.jsp?sid=04Roubaix" target="_blank">CLICK HERE FOR SPECS</a>
&r1_6=There are people who like to go long, and there are people who like to go fast. The Roubaix is for people who like to go long while going fast. The Roubaix uses Specialized's exclusive F.A.C.T. composite technology, Zertz vibration-damping inserts in the frame, fork, and Pave carbon seat post to significantly reduce rider fatigue without compromising stiffness or adding unnecessary weight. Spec'd out with a full Shimano 105 component run, Alex sealed bearing wheel set and Specialized All-condition tires the Roubaix applies technology to make it light, efficient, resilient and reliable.
&r1_7a=ALLEZ ELITE
&r1_7b=<a href="http://www.specialized.com/SBCBkFamily.jsp?sid=04Allez" target="_blank">CLICK HERE FOR SPECS</a>
&r1_7=Fast, efficient, light, and comfortable. That's what you get when you ride an Allez Elite. Using an A1 premium aluminum frameset, carbon fiber fork, Alex sealed bearing wheel set and Shimano 105 components, the Allez Elite is
StefanU ist offline   Mit Zitat antworten
Alt 03-08-2004, 10:49   #2 (permalink)
Neuer User
 
Benutzerbild von reion
 
Registriert seit: Apr 2004
Ort: St. Florian
Beiträge: 459
vl. hilft dir das:
Was ist hier falsch?
__________________
www.reion.tk
---
*nastyBasty, *nonverbla, *miii, *specs2, *kikuchiro, *Tom(2), *Tarantoga, *Prist0r, *heidlbeer, *silentx, *socratez, *isildur, *mmgraphics, *tackle_zone, *raschu, *-+FleshMen 08+-, *guz3l, *Flashyrobin, *teddy86+, *Jasper99, *Don Krawallo, *pLan58+, Sly-Design+, *obscur+, *mxpro-filer+; P |SL, e621, destroy90210, Karsten572, simon ventura, tasovi, salami04, Mulitreiber, dat brot, boyi, rosco, gaspode, dirkgently, Sash^noob; / *X-Production, mika97, derBauer1234, strolchi04 \
reion ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 21:43 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele