webscripter
Programmer
Flash MX 6
I have a main swf file which creates an empty movie clip and loads a sub movie. In the sub movie there is a pushbutton component which when pushed I want to the movie to go to frame 2 of the main movie.
I set the handler for the pushbutton to sendinfo.
Then created a function called sendinfo and put it in the main movies first frame where most of my actionscript is.
The pushbutton trace doesn't show it finding the function.
If I put the sendinfo into the sub movie it finds the function. But the gotoAndPlay doesn't find the main scene and frame 2.
How do I tie a sub movie action to do somethng in the main movie?
Thanks
Tricia
yorkeylady@earthlink.net
I have a main swf file which creates an empty movie clip and loads a sub movie. In the sub movie there is a pushbutton component which when pushed I want to the movie to go to frame 2 of the main movie.
I set the handler for the pushbutton to sendinfo.
Then created a function called sendinfo and put it in the main movies first frame where most of my actionscript is.
The pushbutton trace doesn't show it finding the function.
If I put the sendinfo into the sub movie it finds the function. But the gotoAndPlay doesn't find the main scene and frame 2.
How do I tie a sub movie action to do somethng in the main movie?
Thanks
Tricia
yorkeylady@earthlink.net