Adobe Flash

Move between scenes

You can move between scenes in the authoring environment by selecting a scene in the Scene panel.

1.
To open the Scene panel, select Window > Other Panels > Scene.

2.
Select Scene 1.

Control the document with a stop() action

When you test or publish a Flash document that contains more than one scene, by default the scenes play linearly, in the order in which they appear in the Scenes panel. You'll use a stop() action for Scene 1 so that the playhead in the Timeline stops at Frame 1 of Scene 1.

1.
In the main Timeline for Scene 1, add a new layer and name it Actions.

2.
Click Frame 1 of the Actions layer.

In the Script pane of the Actions panel (Window > Actions), type the following comment followed by the script that stops the playhead on the frame:

// Stops the playhead at Frame 1.

stop();