-
I have no problem understanding loading a text file into my main movie and calling the html into a dynamic text box from a button.
I am having a problem when I load my variables on my main timeline and try to load text into a dynamic box from a button that resides outside the main movie. I have had no success from a separate swf file or a movie clip within the main timeline.
Can anyone help or refer me to any documentation that might help me on this matter.
thanks in advance.
-
United States Presidential Hopeful in 2028
It sounds like a targeting problem. If the text box is in a different movie than the button or the action, then you need to let Flash know where to send the command.
So if you are trying to load text into a field on the main movie from a button in a movie loaded onto level 1 the action would look like: _level0.loadVariablesNum(whatever.txt)
To do it the other way the _level0. would be _level1.
You can also use the instance name of the clip such as instanceName.loadVariablesNum(whatever.txt)
-
To JC Savior Productions
Thanks you for your help… It fixed my 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
|