Top Ten Topics
Flash CS4 ActionScript 3.0 Tutorial
How to Understand Key Flash ActionScript Principles
Because of the complexity and depth of Flash CS4 ActionScript 3.0, it can be a challenge to know where to begin. This list should help to simplify the process as you begin your journey.
For more information, see topic ActionScript (Internal).
Explains how to add ActionScript to your Flash file.
For more information, see topic Preferences.
Setting your preferences for ActionScript can make coding a lot easier.
For more information, see topic Symbols.
Symbols are the key to making things happen in ActionScript. Movie Clip and Button Symbols can be utilized by your ActionScript code.
To talk to an object or manipulate data it must be assigned a variable name.
For more information, see topic Text.
Text that will be accessed by ActionScript is either Dynamic Text or Input Text.
For more information, see topic Labels (Frame).
Frame Labels are quite helpful in labeling your timeline so you can visually see where you are in the animation.
When you connect an Event (such as clicking a Button Symbol) to and Function (such as go to frame 10), things start to happen.
Conditional Statements set up comparisons and ask if and else if questions. If a statement is true, one thing happens. A false outcome would create a different outcome.
For more information, see topic Comments.
Code can get quite complex. By commenting as you create, you will better understand your reasoning if you need to re-visit the code at a later date.
For more information, see topic, Tracing.
Tracing is a valuable tool when troubleshooting your code. It allows you to view a variable's value at specific points in the code as you play your animation.
Getting the Most from the Topics
Several of the ActionScript topics include actual working code on the topic pages. To quickly recreate our example, simply copy/paste the code into the ActionScript panel in your flash document.
Learn by Doing
To get the most from these examples you will want to try them with your software. Taking that extra time to re-create the exercises guarantees that you understand each concept and build your Flash ActionScript skills.