-
Loading an external .txt file
Hi All,
I need help!!!
I have an external text file that loads as dynamic text in a movie. That works fine. The problem is, when I get that movie to load into another movie, the text isnt there.
How do I get the text to load in the external swf file?
Any help would be greatly appreciated!!!
Thanks
-
Senior Member
That would be a targetting problem. When you work in the movie that loads the txt, then that is your root file. But when you load that movie into another one (into level1 or a target movieclip), it is no longer your root file, the other one is. Can't give you any more specific help 'cause I don't know how you coded exactly.
-
Senior Member
u use this to load the txt file in the movie you load
loadvariables(x.txt,varname)
use this instead in the root movie
i mean level 0
loadvariable(x.txt,level2.varname)
level2 is the level u load the external movie on.
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
|