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.
- In the main Timeline for Scene 1, add a new layer and name it Actions.
- Click Frame 1 of the Actions layer. In the Script pane of the Actions panel (Window > Development Panels > Actions), type the following comment followed by the script that stops the playhead on the frame:
//stops the playhead at Frame 1
stop();