This content has been marked as final. Show 7 replies
if you use loadVariables() (AND you correct your syntax) in storyboard.swf, then you should check to see if the variables are loaded before assigning their value(s) to the text property of your textfield. if the textfield is on the same timeline that contains the loadVariables code, you don't need to use an explicit path.
in any case, you can always use trace(this) on
1. the timeline where you want to put your code assigning the text property and
2. on the timeline that contains your loadVariables() statement and
3. on the timeline that contains your textfield.
with those three trace statements you can get explicit help for the correct path if you're still having trouble.
Thanks for getting back so soon.
Using trace(this) I get '_level0.mainmask.inside_loader' in the output box when I load the movie(s) in the browser.
Does this path need to be used in the loadVariables code?
you need three trace statements to figure out the path from your text assignment code to your loadVariable's timeline and to your textfield's timeline.
AFAIK those three are all the same (although I'm not too sure about the first one...). I placed the trace on the first cell of the timeline of the movie to be loaded, along with the textarea. The textarea is instantiated at about cell 30. When I output the movie, trace gives me _level0 for the loaded movie and _level0.mainmask.inside_loader for the container movie (which automatically calls the nested one).
What all this means i can't tell. I'm still moving the paths around but nothings working.
are you assigning text to your textarea AFTER your variables have loaded and WHEN your textarea exists?
I eventualy solved the problem by ditching the loadVariables altogether and finding a suitable loadVars solution in a tutorial.
Thanks for your time and help anyway.
for others, that solution usually means the original problem was trying to use the variables BEFORE they had loaded.