-
I'm trying to display text from a seprate txt file in the same directory but when I view it on the internet it does not work.
I have the text field in flash set to a dynamic text. I named the variable for it /:anounce. To load the variables I have these actions:
Frame 1:
LoadVariablsNum ("textsourc.txt,0");
Frame 2:
if (/:textloaded="OK") {
gotoandstop ("done");
}
Frame 3:
GotoAndPlay (71);
Frame 4:
I have the text field and all my other stuff on this frame which is labeled done.
ok now what I have on my txt file is this:
&anounce=blah blah blah blah...
Is there something wrong that I did. I do not see why it would not work. Everything is right that I see but for some reason the the text fields do not display the variables.
SOMEONE PLEEEEEEEEEEEEEEEEEEEASE HELP!!!
-
oh one small detail I forgot to include. I forgot to say that there also is &textload=OK in the text file so the text file should look like this:
&anounce=blah blah blah...
&textloaded=OK
-
What is on Frame 71? Try pointing it to frame 1 instead so that it will loop until the text is loaded.
-
whoops yeah thats what meant to say. I have it looping to 1.
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
|