Timeline Layer Conventions

Timeline Layer Conventions

Flash CS4 ActionScript 3.0 Tutorial


How to Organize Your Layers and Content in Flash



Timeline organization is essential to a healthy Flash project. The top layer is the Labels layer. Below that is the Actions layer and the Content is neatly organized in all the layers below the Actions layer.


Step One

In a new Flash document, name the default layer Labels.

Step Two

Add a new layer, name it Actions, and move it below the Labels layer.

Step Three

Option double-click (PC - Alt double-click) the keyframe in the Actions layer to open the ActionScript panel.

Step Four

Copy/Paste the following code to the ActionScript panel, then close the ActionScript panel.


Step Five

Click frame 10 of the Labels layer and press F5 to extend it to frame 10.

Step Six

Click frame one of the Labels layer and open the Properties panel (Cmd/F3 (PC - Ctrl/F3).

Step Seven

Add the word intro to the label in the Name box and press Return (PC - Enter).

Step Eight

Add a new layer below the Actions layer and name it Content.

Step Nine

Add an object to the Content layer. Notice that the Content layer becomes medium gray to indicate it contains one or more objects. The other layers remain white.

Labels Need Space

When assigning a label, be sure you have enough room before the next keyframe. If you only have one frame, you can't see the label.

Watch for the Little "a"

Whenever you connect ActionScript to a keyframe a small "a" appears to let you know that ActionScript has been added.