Add labels to frames 109
16.
Select frame 60 of Layer 2.
17.
In the Actions panel, type the
stop();
ActionScript.
18.
In the Timeline, select frame 80 of Layer 2.
19.
In the Actions panel, type the
stop();
ActionScript.
Add labels to frames
Now you will add labels to specific frames. By labeling a frame, you make it
possible to refer to that frame in ActionScript. This allows you to write
ActionScript code that performs actions on those frames. Later, you
will add ActionScript code that makes the playhead jump to these
labeled frames.
To add the frame labels:
1.
In the Timeline, select Frame 2 of Layer 2.
2.
In the Property inspector, enter
slide0
in the Frame Label text box.
A small flag icon and the frame label appear in Frame 2 of Layer 2 in
the Timeline.
3.
In the Timeline, select Frame 21 of Layer 2.
4.
In the Property inspector, enter
slide1
in the Frame Label text box.
5.
In the Timeline, select Frame 41 of Layer 2.
6.
In the Property inspector, enter
slide2
in the Frame Label text box.
7.
In the Timeline, select Frame 61 of Layer 2.
8.
In the Property inspector, enter
slide3
in the Frame Label text box.
The Timeline with the completed frame labels
000_Getting_Started.book Page 109 Friday, September 2, 2005 12:22 PM
Summary of Contents for FLASH 8-GETTING STARTED WITH FLASH
Page 1: ...Getting Started with Flash...
Page 26: ...26 Introduction...
Page 94: ...94 Flash Basics...
Page 152: ...152 Index...