-
function parameters - no affect ?
Hi all.
Umm confusing problemo....
Ive got a function on FRAME1 that loads a a text file in a dynamic txt to a MC on stage.
In the subsequent FRAMES I've set the parameters of this function to pick different texts.
Well after the first pick-up the function dose'nt work.
I've tried deleting the dyn txt entries from the next button trigger, but no success.
THE CODE:
ON FRAME 1:
function loader (mainTextFile) {
loadVariables (mainTextFile+".txt",mainMc);
}
ON FRAME 2:
_root.loader("aq");//aq is the first text file
ON FRAME 3:
_root.loader("sw");//sw is the second text file
Any sol anybody?? Appreciate it.
"If Freedom is Outlawed only Outlaws will have Freedom"
-
You can loadVariables only once in each MovieClip. You will either have to combine your .txt vars or load one text file per movieclip
-
Wrong!
Nope thats not it,
Any mc can load extreme amounts of text files... but this just doesnt WORK! AAAAARGH!
Anyone PLs.??
"If Freedom is Outlawed only Outlaws will have Freedom"
-
YAHOO!!
Well I spent the whole night up .. But I finally cracked the bloody code...
It works beautifully.
Txt, swf, images I can load anything based on function parameters and have them scroll. YAHOO. Thanks everyone!
"If Freedom is Outlawed only Outlaws will have Freedom"
-
soo..what was the problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|