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 Control+= (equal sign) in
Windows or Command+= 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 Control+-(minus sign) in
Windows or Command+- on Macintosh.
To use keyboard shortcuts with pinned scripts:
You can use the following keyboard shortcuts to work with pinned scripts:
Action
Pin script
Unpin script
Move focus to tab on the right Control+Shift+. (period)
Move focus to tab on the left
Unpin all 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.
60
Writing and Editing ActionScript 2.0
Windows shortcut key
Control+= (equal sign)
Control+- (minus sign)
Control+Shift+, (comma)
Control+Shift+- (minus)
Macintosh shortcut key
Command+=
Command+-
Command+Shift+.
Command+Shift+,
Command+Shift+-
Need help?
Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?