[an error occurred while processing this directive]
The primary location for all your Flash ActionScript is the Actions Window.
If you create code to be attached to a specific frame instead of to
a specific object, you can do so by selecting the frame and adding
code in the Actions Window. To select a frame, click on it in the
timeline. Once you've added code, that frame in the timeline will be
rendered with a small a to
indicate the action programmed there.
Flash's Actions Window will allow you to program in two different
modes, Normal and Expert. Normal mode allows you to
use the ActionScript programming tools in the actions section and to
use the details section to refine your code. On the other hand,
Normal mode will not allow you to edit your ActionScript code
by hand.
Expert mode, conversely, will allow you to type directly in the code section, bypassing the actions and details sections of the window. Alas, when you're using the Expert mode, very few of the options in the actions section are open to you. You may find that once you know a bit more about ActionScript, a mix of the two is the best way to go.
To switch beteen normal and expert mode, simply click the arrow
menu in the upper right of the actions window and select the mode
you'd like to use from the pop-up menu that appears (as shown).
Click for enlargement |
|---|
Note: Occasionally, when you click on a piece of code, the details section will not change. To remedy this, simply click on a different piece of code, and then click back on the piece of code that failed to appear before.
Back [an error occurred while processing this directive]