![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
If you don't centralize all your code within a FLA file in one location, you can pin (lock in place) multiple scripts in the Actions panel to make it easier to move among them. In the following figure, the script associated with the current location on the Timeline is on Frame 1 of the layer named Cleanup. (The tab at the far left always follows your location along the Timeline.) That script is also pinned (it is shown as the rightmost tab). Two other scripts are pinned; one on Frame 1 and the other on Frame 15 of the layer named Intro. You can move among the pinned scripts by clicking on the tabs or by using keyboard shortcuts. Moving among pinned scripts does not change your current position on the Timeline.
Tip: If the content displayed in the Script pane isn't changing to reflect the location that you are selecting on the Timeline, the Script pane is probably displaying a pinned script. Click the leftmost tab at the lower left of the Script pane to display the ActionScript associated with your location along the Timeline.
Action |
Windows shortcut key |
Macintosh shortcut key |
---|---|---|
Pin script |
Control-= (equal sign) |
Command-= |
Unpin script |
Control-- (minus sign) |
Command-- |
Move focus to tab on the right |
Control-Shift-. (period) |
Command-Shift-. |
Move focus to tab on the left |
Control-Shift-, (comma) |
Command-Shift-, |
Unpin all scripts |
Control-Shift-- (minus) |
Command-Shift-- |
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |