|
-
loadMovieNum() from an external .txt file
Hello everybody
I just solved what i wanted to do, only the last thing i couldn't solve yet.
name.txt :
name0= grandchild&name1=tom&name2=jim
there is three fla file:
1) parent.fla>parent.swf
2) child.fla>child.swf
3) grandchild.fla>grandchild.swf
in the 1st frame of parent.fla file:
loadMovieNum("child.swf",1);
in the child.fla file :
1st frame>
stop();
loadVariablesNum("name.txt",2);
on stage there is 3 dynamic text (var name) name0, name1 and name2
there is also a button in the stage of 1st frame
button script>
on (keyPress"<enter>") {
gotoAndStop(2);
}
on 2nd frame>
showTheName=name0 add ".swf";
loadMovieNum(name0,3);
there is also a dynamic text in 2nd frame on stage named (showTheName)
here is the problem the dynamic text (showTheName) field output:// grandchild
not (grandchild.swf) and it not load the movie
Is there anyone who can solve out this problem
Flash lite 1.1
This will help me a lot
Thank You All
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
|