Flash CS4 ActionScript 3.0 Tutorial
How to Better Understand Flash ActionScript Interface Elements
Before you start working with ActionScript, chances are you have become familiar with layers, tweens, tools, menu items and the other elements used to create content in Flash. This topic is designed to introduce you to several items that will simplify your work with ActionScript. For more information on setting your ActionScript preferences, see topic, Preferences.
ActionScript is added to a keyframe on the Actions layer. It is generally the top layer or sometimes the second layer if you add a Labels layer.
Once you add ActionScript to a keyframe, a small "a" appears in the keyframe to let you know that there is code on that keyframe.
When you create your Actions layer, it is a good idea to lock the layer to prevent adding any objects to the Actions layer.
ActionScript is added in the Actions panel. The panel can be opened multiple ways.
The first way to open the panel is to select a keyframe, then choose Window > Actions (Opt/F9 (PC - F9)
A second way is to Option (PC - Alt) double-click the selected keyframe in the Actions layer.
A third method is select the keyframe, then click the small Actions icon in the Properties panel.
It helps to reposition the Actions panel by dragging it. You can also resize the panel.
Click the medium gray area once to reveal or hide the panel.
Blue words are reserved words. To better understand a blue word, select it and click the Help icon.
If you have ActionScript on multiple keyframes, you can click the keyframe in the side panel to see the corresponding ActionScript.