Flash - switch between scenes?

dgamma3

New member
Hi I have a movie clip on my main stage, when I click the movie-clip I need to jump to scene 2 , how do i do this?
I have tried using the following code inside the movieclip, but all it does it flash scene 2. (not scene 2 is only 1 frame)

on (release) {
gotoAndPlay ("Scene 2",1);
}

i have also tried this code, inside the movieclip:

addEventListener(MouseEvent.CLICK, danielSlideClick);

function danielSlideClick(event:MouseEvent):void {
gotoAndPlay (1, "Scene 2");
}
 
Back
Top