Hello, I've been attempting to use a MovieClip as a button and make it use the gotoAndStop method on the timeline. But I'm unsure how to do that.
The code I use for this was like this:
Code:
function startGame(evt:MouseEvent):void {
gotoAndStop(3);
Parent.gotoAndStop(48); //Here is where I'm unsure
}
addEventListener
(MouseEvent.MOUSE_DOWN, startGame);
What I'm having trouble with is where I need to define that I want to change the frame on the Main Timeline, rather than the MovieClip's timeline. (The code is on a frame in the MovieClip's timeline.)