Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 230
the latest version. At the very bottom of the Actions toolbox categories is a yellow
Index category that lists, in alphabetical order, all the language elements. You don’t
need to use the toolbox to add code to your script, but it can help to ensure that
you’re using the code correctly.
At the top right of the Actions panel is the Script pane—the blank slate in which all
your code appears. You enter ActionScript in the Script pane just as you would in a
text-editing application.
At the bottom left of the Actions panel is the Script navigator, which can help
you find a particular piece of code. ActionScript is placed on keyframes on the
Timeline, so the Script navigator can be particularly useful if you have lots of code
scattered in different keyframes and on different Timelines.
All the panes in the Actions panel can be resized to suit your working style. They
can even be collapsed completely to maximize the pane that you are working in.
To resize a pane, click and drag the horizontal or vertical dividers.
Preparing the timeline
Every new Flash project begins with just a single frame. To create room on the
Timeline to add more content, you’ll have to add more frames to all your layers.
1 Select a later frame in the top layer. In this example, select frame 50.
2 Choose Insert > Timeline > Frame (F5). You can also right-click/Ctrl-click and
choose Insert Frame.
Flash adds frames in the top layer up to the selected point, frame 50.
3 Select frame 50 in the other two layers and insert frames up to the selected frame.
All your layers have 50 frames on the Timeline.
Adobe FLAsh ProFessIonAL Cs6 CLAssroom In A book
221