Introduction |
|
1 | (5) |
|
|
6 | (38) |
|
ActionScript Matures to Version 2.0 |
|
|
|
Differences Between ActionScript 1.0 and 2.0 |
|
|
|
Similarities Between ActionScript 1.0 and 2.0 |
|
|
|
|
|
|
|
Using the Actions Panel/ActionScript Editor |
|
|
|
|
|
Writing Your First Script |
|
|
|
Testing Your First Script |
|
|
|
|
44 | (60) |
|
|
|
Choosing the Right Event Handler |
|
|
|
|
|
Making the Most of Attaching Mouse Events to Movie Clips |
|
|
|
|
|
|
|
Orchestrating Multiple Events |
|
|
|
Understanding Event Handler Methods |
|
|
|
Using Event Handler Methods |
|
|
|
|
|
Understanding Target Paths |
|
|
104 | (36) |
|
Understanding Multiple Timelines |
|
|
|
Targeting the Current Movie |
|
|
|
|
|
|
|
Targeting Movie Clip Instances |
|
|
|
Targeting Movies on Levels |
|
|
|
Targeting Movie Clip Instances on Levels |
|
|
|
Understanding Multiple Identities |
|
|
|
Creating and Referencing Global Elements |
|
|
|
|
140 | (32) |
|
What Objects Are and Why They're Useful |
|
|
|
|
|
|
|
Using the Key Class To Add Interactivity |
|
|
|
Working with String and Selection Classes |
|
|
|
|
172 | (24) |
|
|
|
Adding Parameters to Functions |
|
|
|
Using Local Variables and Creating Functions That Return Results |
|
|
|
Creating and Manipulating Data |
|
|
196 | (40) |
|
|
|
|
|
Creating Dynamic Text Fields and Retrieving Information |
|
|
|
|
|
|
|
|
|
Manipulating Numerical Data Using Math |
|
|
|
|
|
|
236 | (40) |
|
Classes, Top-Level Classes, and Instances |
|
|
|
|
|
|
|
Packages and Importing Classes |
|
|
|
|
|
|
|
Understanding Inheritance |
|
|
|
|
276 | (28) |
|
Controlling a Script's Flow |
|
|
|
|
|
Reacting to Multiple Conditions |
|
|
|
|
|
|
|
Reacting to User Interaction |
|
|
|
|
|
Automating Scripts with Loops |
|
|
304 | (26) |
|
|
|
|
|
Writing and Understanding Loop Conditions |
|
|
|
|
|
|
|
|
330 | (38) |
|
Components: A Scripting Primer |
|
|
|
Configuring Component Properties |
|
|
|
Triggering Scripts Using Component Events |
|
|
|
|
|
Using the FocusManager Component |
|
|
|
Customizing UI Components with ActionScript |
|
|
|
Getting Data in and Out of Flash |
|
|
368 | (40) |
|
Understanding Data Sources and Data Formats |
|
|
|
|
|
|
|
|
|
|
|
Using the WebServiceConnector Component |
|
|
|
|
408 | (36) |
|
|
|
|
|
|
|
|
444 | (26) |
|
The Logic Behind Validating Data |
|
|
|
Using Validation Routines |
|
|
|
|
|
|
|
|
|
Validating Against a List of Choices |
|
|
|
|
|
Processing Validated Data |
|
|
|
|
470 | (40) |
|
Dynamically Creating and Configuring Text Fields |
|
|
|
|
|
Loading and Communicating with Inline Images and SWFs |
|
|
|
Formatting Text Fields with Cascading Style Sheets |
|
|
|
Controlling Movie Clips Dynamically |
|
|
510 | (42) |
|
Creating Movie Clip Instances Dynamically |
|
|
|
Building Continuous-Feedback Buttons |
|
|
|
Using ActionScript To Draw Lines Dynamically |
|
|
|
Using the Drawing Methods |
|
|
|
Creating Filled Shapes Dynamically |
|
|
|
Z-Sorting Movie Clip Instances |
|
|
|
Dragging and Dropping Movie Clip Instances |
|
|
|
Removing Dynamically Created Content |
|
|
|
Time- and Frame-Based Dynamism |
|
|
552 | (38) |
|
|
|
Working with Dates in Flash |
|
|
|
Determining the Passage of Time |
|
|
|
Controlling the Playback Speed and Direction of a Timeline |
|
|
|
Tracking Playback and Downloading Progression |
|
|
|
|
590 | (32) |
|
Controlling Sound with ActionScript |
|
|
|
|
|
Dragging a Movie Clip Instance Within a Boundary |
|
|
|
|
|
|
|
Attaching Sounds and Controlling Sound Playback |
|
|
|
|
622 | (52) |
|
The Ins and Outs of Loading External Assets |
|
|
|
Loading Movies into Targets |
|
|
|
|
|
Creating an Interactive Placeholder |
|
|
|
Loading Movies into Levels |
|
|
|
Controlling a Movie on a Level |
|
|
|
|
|
Reacting to Dynamically Loaded MP3s |
|
|
|
Extracting ID3 Data from an MP3 File |
|
|
|
Loading and Controlling External Video |
|
|
|
|
674 | (26) |
|
Eliminating Bugs Before They Hatch |
|
|
|
Maximizing the Testing and Debugging Process |
|
|
|
|
|
Finding and Fixing Run-Time Bugs |
|
|
|
|
700 | (32) |
|
Understanding and Using fscommand() |
|
|
|
|
|
|
|
Printing and Context Menus |
|
|
732 | (22) |
|
Flash Printing Versus Browser Printing |
|
|
|
|
|
Creating Custom Context Menus |
|
|
Index |
|
754 | |