Question
Referencing the main timeline from elsewhere
From inside a movie clip (button) which is inside a display
object (buttonSet), I want to gotoAndPlay a specific frame on the
main timeline. I've tried stage.gotoAndPlay(thisFrame). I got
closer with gotoAndPlay(stage.thisFrame). I still have something
wrong.
I have about 15 frames on the main timeline. Each frame contains a myriad of objects all doing different things. Most importantly they transition from frame to frame based on the current frame (last button clicked) and the next frame (the newly clicked button).
Example: the last button that was clicked was button #4, the button I have just clicked is button #2. Based on this knowledge, I want the main timeline to gotoAndPlay frame #6.
Thanks for the aid. 🙂
I have about 15 frames on the main timeline. Each frame contains a myriad of objects all doing different things. Most importantly they transition from frame to frame based on the current frame (last button clicked) and the next frame (the newly clicked button).
Example: the last button that was clicked was button #4, the button I have just clicked is button #2. Based on this knowledge, I want the main timeline to gotoAndPlay frame #6.
Thanks for the aid. 🙂