Move Between Scenes; Control The Document With A Stop() Action - MACROMEDIA FLASH 8-FLASH Tutorials Manual

Hide thumbs Also See for FLASH 8-FLASH:
Table of Contents

Advertisement

238 ActionScript: Add Interactivity
3.
Use the Property inspector to give the Animation movie clip an instance
name of animation_mc.
4.
Rename Layer 1 Animation.
Create a new layer and name it Buttons. Drag an instance of the
BTNback symbol to the Stage, and place it anywhere to the right of the
movie clip.
5.
Use the Property inspector to give the button an instance name of
back_btn.

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
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();
action for Scene 1 so that the
stop()

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF