Add Labels To Frames - MACROMEDIA FLASH 8-GETTING STARTED WITH FLASH Getting Started

Table of Contents

Advertisement

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

Add labels to frames 109

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents