60
Writing and Editing ActionScript 2.0
To pin a script:
1.
Position your mouse pointer on the Timeline so the script appears in a tab at the lower left
of the Script pane in the Actions panel.
2.
Do one of the following:
■
Click the pushpin icon to the right of the tab.
■
Right-click (Windows) or Control-click (Macintosh) on the tab, and select Pin Script.
■
Select Pin Script from the pop-up menu (at the upper right of the Actions panel).
■
With the mouse pointer focused in the Script pane, press = (equal sign) in
Windows or = on the Macintosh.
To unpin one or more scripts, do one of the following:
■
If a pinned script appears in a tab at the lower left of the Script pane in the Actions panel,
click the pushpin icon on the right of the tab.
■
Right-click (Windows) or Control-click (Macintosh) on a tab, and select Close Script or
Close All Scripts.
■
Select Close Script or Close All Scripts from the pop-up menu (at the upper right of the
Actions panel).
■
With the mouse pointer focused in the Script pane, press -(minus sign) in
Windows or - on Macintosh.
To use keyboard shortcuts with pinned scripts:
■
You can use the following keyboard shortcuts to work with pinned scripts:
Inserting target paths
Many of the actions that you create in your script will affect movie clips, buttons, and other
symbol instances. To apply actions to instances on a timeline, you set a
target path
—the
address of the instance you want to target. You can set either an absolute or relative
target path.
Action
Windows shortcut key Macintosh shortcut key
Pin script
= (equal sign)
=
Unpin script
- (minus sign)
-
Move focus to tab on the right Shift+. (period)
Shift+.
Move focus to tab on the left Shift+, (comma)
Shift+,
Unpin all scripts
Shift+- (minus)
Shift+-
Summary of Contents for FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Page 1: ...Learning ActionScript 2 0 in Flash...
Page 8: ...8 Contents...
Page 18: ...18 Introduction...
Page 30: ...30 What s New in Flash 8 ActionScript...
Page 66: ...66 Writing and Editing ActionScript 2 0...
Page 328: ...328 Interfaces...
Page 350: ...350 Handling Events...
Page 590: ...590 Creating Interaction with ActionScript...
Page 710: ...710 Understanding Security...
Page 730: ...730 Debugging Applications...
Page 780: ...780 Deprecated Flash 4 operators...
Page 830: ...830 Index...