Movie 1 is a map. Each state has a button. When the button for a state is clicked it loads another movie (all states load the same movie). When the second movie starts running I want to know which state it was selected from. Thanks in advance for the help.
Thanks for your help Oldnewbie and you are correct. Here is more detail.
Your assumption was correct, each state has it's own button and I am already doing as you suggested on the setvariable.
on (release) {
_root.State1 = 'Ga";
loadMovieNum ("Test1.swf", 0);
}
The problem happens when the Test1 movie runs. I have a dynamic text field in the movie but so far have been unsuccessful getting the value in the Test1 variable.
Thanks again for the fast responses and I hate to be a pain but even when I tried your suggestion I still do not get the variable in the Test1 movie. I do not have an action defined on the Test1 movie, but I did name the dynamic text field as you suggested.
This seems like it should be very simple, but I just can't get the puppy to bark.
on (press){
_level0.selected_state = "TX";
}
A text field in the loaded movie named _level0.selected_state (no "", displays TX...
Double check that the text field variable is really exactly named as you've declared it. Also check that the text color (in the text field) is not the same as the background color, thus making it invisible, and/or check the border & background box in the text field options.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.