Adobe FLASH CS3 PRO User Manual page 405

Hide thumbs Also See for FLASH CS3 PRO:
Table of Contents

Advertisement

See also
"Debugging ActionScript 3.0" on page 410
"Debugging ActionScript 1.0 and 2.0" on page 400
Pin a script
1
Click the Timeline so the script appears in a tab at the lower left of the Script pane in the Actions panel.
Do one of the following:
2
• Click the Pushpin icon to the right of the tab.
• Right-click (Windows) or Control-click (Macintosh) the tab, and select Pin Script.
• From the panel menu
Unpin a script
• 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) a tab, and select Close Script or Close All Scripts.
• From the panel menu
Keyboard shortcuts for pinned scripts
When the insertion point is in the Script pane, use the following keyboard shortcuts to work with pinned scripts.
Action
Pin script
Unpin script
Move focus to tab on the right
Move focus to tab on the left
Unpin all scripts
Insert target paths
Many script actions are meant to affect movie clips, buttons, and other symbol instances. In your code, you can
reference symbol instances on a timeline by inserting a target path—the address of the instance you want to target.
You can set either an absolute or relative target path. An absolute path contains the entire address of the instance. A
relative path contains only the part of the address that is different from the address of the script itself in the FLA file,
and will no longer work if the script is moved to another location.
1
In the Actions panel, click an action in your script.
Click Target Path
.
2
3
Enter the path to the target instance, or select the target from the list.
Select either the Absolute or Relative path option.
4
(at the upper-right corner of the Actions panel), select Pin Script.
(at the upper-right corner of the Actions panel), select Close Script or Close All Scripts.
Windows shortcut key
Control+= (equal sign)
Control+- (minus sign)
Control+Shift+. (period)
Control+Shift+, (comma)
Control+Shift+- (minus sign)
Macintosh shortcut key
Command+=
Command+-
Command+Shift+.
Command+Shift+,
Command+Shift+-
FLASH CS3
399
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash cs3 professional

Table of Contents