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+-
Содержание FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Страница 1: ...Learning ActionScript 2 0 in Flash...
Страница 8: ...8 Contents...
Страница 18: ...18 Introduction...
Страница 30: ...30 What s New in Flash 8 ActionScript...
Страница 66: ...66 Writing and Editing ActionScript 2 0...
Страница 328: ...328 Interfaces...
Страница 350: ...350 Handling Events...
Страница 590: ...590 Creating Interaction with ActionScript...
Страница 710: ...710 Understanding Security...
Страница 730: ...730 Debugging Applications...
Страница 780: ...780 Deprecated Flash 4 operators...
Страница 830: ...830 Index...