orangejuice
Technical User
Alright I am rather confused with this one. I have a main flash movie which loads a set of variables from a website Code in first fram of movie:
loadVariables(" "_root", "GET"
This works fine for my main movie - I can set up two dynamic text boxes which will display the variables just loaded (news1= whatever text and news2= whatever text again).
However, I have this main movie set up to load an external .swf into an empty movie clip when the user clicks a button.
Code:
on (press) {
unloadMovieNum(1);
loadMovie("online.swf", "/fframe"
}
This movie clip also contains 2 dynamic text boxes which I want to display the variables news1 and news2 in. However, nothing displays in these when the .swf is loaded into the main movie! Its like the .swf can't see the variables on the _root timeline.
I think there is some way to define the variables as _global, but am not sure of the syntax, etc. Any help is appreciated!!!
loadVariables(" "_root", "GET"
This works fine for my main movie - I can set up two dynamic text boxes which will display the variables just loaded (news1= whatever text and news2= whatever text again).
However, I have this main movie set up to load an external .swf into an empty movie clip when the user clicks a button.
Code:
on (press) {
unloadMovieNum(1);
loadMovie("online.swf", "/fframe"
}
This movie clip also contains 2 dynamic text boxes which I want to display the variables news1 and news2 in. However, nothing displays in these when the .swf is loaded into the main movie! Its like the .swf can't see the variables on the _root timeline.
I think there is some way to define the variables as _global, but am not sure of the syntax, etc. Any help is appreciated!!!