332
Writing ActionScript with Script Assist
7.
Place the circle_mc move clip on the Timeline. To do this:
a.
Select the circle_mc movie clip on the Stage.
b.
Select Modify > Timeline > Distribute to Layers. This menu command automatically
adds a layer to the Timeline and places the circle_mc movie clip instance on the
Timeline. It names the new layer according to the symbol name and places it beneath
the already existing Layer 1.
8.
Rename Layer 1 by double-clicking its name in the Timeline and typing the name
“Actions”
in its place.
9.
Select the first frame of the Actions layers.
10.
Select Window > Actions to display the Actions panel, and click Script Assist. The Actions
panel enters Script Assist mode.
11.
In the Actions Toolbox, navigate to ActionScript 2.0 Classes > Movie > MovieClip >
Events > onPress, and double-click onPress. The
onPress
method is added to the Actions
panel.
12.
Click in the Object text box, and click the Target Path button.
13.
Click the Target path button.
The Target Path dialog box is displayed.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...