An external .swf only exists when it's fully loaded, so you basically can't tell it to go to one specific frame, if that frame doesn't exist yet, and certainely not on the same script as the loadMovie action itself, at least on the initial load!
Thus you can either tell it to go to a specific frame, a few frames later than your loadMovie action itself, or set a variable on your button press, which will be checked by the to be loaded movie, and re-direct it to the proper frame.
In any case, your to be loaded movie, once loaded, should be looping on it's first 2 blank keyframes and checking for that variable that was set on the button press.
Suggest you use frame labels rather than frame numbers which are more error prone.
Thus on each of your buttons' presses, set a variable like...
_level0.frame_to_goto = "bill";
Or on another button...
_level0.frame_to_goto = "watson";
Or yet on another button...
_level0.frame_to_goto = "instructor";
Of course, 3 specific frames of the to be loaded movie, should be labeled with those 3 frame labels. Then on the first frame of that to be loaded movie, add the following...
Basically the same thing... Mine is 2 shorter lines rather than one long one, and mine does work from authoring.
So does Bill's by the way, if tested locally through an html!
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.