Hero's Journey & Multiple Scenes

In this project we will create an animation that has multiple stages. It's easy to create buttons that show at a point and will transition the viewer to another stage. Think of them as chapter markers in a movie.

Code Snippet for Next Scene:

/* Click to Go to Scene and Play

Clicking on the specified symbol instance plays the movie from the specified scene and frame.


1. Replace "Scene 3" with the name of the scene you would like play.

2. Replace 1 with the frame number you would like the movie to play from in the specified scene.

button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene);
function fl_ClickToGoToScene(event:MouseEvent):void
 MovieClip(this.root).gotoAndPlay(1, "Scene 3");
/* Click to Go to Next Scene and Play
Clicking on the specified symbol instance moves the playhead to the next scene in the timeline and continues playback in that scene.
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextScene_2);
function fl_ClickToGoToNextScene_2(event:MouseEvent):void