| | Copyright |
| | Credits |
| | Bios |
| | Acknowledgments |
| | Introduction |
| | | Outline |
| | | Standard Elements in the Book |
| | | Macromedia Training from the Source |
| | | Macromedia Authorized Training and Certification |
| | | What You Will Learn in This Book |
| | | Minimum System Requirements |
| | Lesson 1. Introduction to ActionScript 2.0 |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | What Is ActionScript? |
| | | Using the Actions Panel |
| | | Creating Variables |
| | | Code Placement |
| | | Understanding Objects, Classes, and Scope |
| | | What You Have Learned |
| | Lesson 2. Functions |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Creating Functions |
| | | Adding Parameters to Functions |
| | | Using Local Variables and Creating Functions that Return Results |
| | | What You Have Learned |
| | Lesson 3. Conditional Logic |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Controlling a Script's Flow |
| | | Reacting to Multiple Conditions |
| | | Reacting to User Interaction |
| | | Detecting the Edge of the Stage |
| | | What You Have Learned |
| | Lesson 4. Arrays and Loops |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Why Loops Are Useful |
| | | Types of Loops |
| | | Loop Exceptions |
| | | Creating a Search Application |
| | | Writing and Understanding Loop Conditions |
| | | Nested Loops |
| | | What You Have Learned |
| | Lesson 5. Built-in Classes |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | What Classes Are and Why They're Useful |
| | | Using the Color Class |
| | | Working with String and Selection Classes |
| | | What You Have Learned |
| | Lesson 6. Custom Classes |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Understanding Classes, Top-Level Classes, and Instances |
| | | Creating a Class |
| | | Understanding the Classpath |
| | | Using Packages and Importing Classes |
| | | Using Getters and Setters |
| | | Defining Members |
| | | Understanding Inheritance |
| | | Updating an Inheritance-Based Project |
| | | What You Have Learned |
| | Lesson 7. Events, Listeners, and Callbacks |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | What Events Do |
| | | Types of Events in Flash |
| | | Event Handlers |
| | | Creating a Project Using Event Handlers |
| | | Listeners |
| | | Creating a Project Using Listeners |
| | | What You Have Learned |
| | Lesson 8. Dynamically Creating Assets |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Attaching Movie Clips |
| | | Adding Empty Movie Clips |
| | | Drawing Programmatically |
| | | Working with Movie Clips as Buttons |
| | | Adding Text Fields Programmatically |
| | | Formatting Text |
| | | What You Have Learned |
| | Lesson 9. Bitmap Features |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Using Bitmap Surface Caching |
| | | Applying Filters |
| | | Applying Blend Modes Programmatically |
| | | Introducing the Bitmap API |
| | | What You Have Learned |
| | Lesson 10. UI Components |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Components: A Scripting Primer |
| | | Configuring Component Properties |
| | | Triggering Scripts Using Component Events |
| | | Using Component Methods |
| | | Using the FocusManager Component |
| | | Customizing UI Components with ActionScript |
| | | What You Have Learned |
| | Lesson 11. Advanced Object-Oriented Design |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Correcting Scope Errors with Delegate |
| | | Understanding Encapsulation |
| | | Applying Composition |
| | | Using Composition and Inheritance Together |
| | | Dispatching Events |
| | | What You Have Learned |
| | Lesson 12. Data Validation |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | The Logic Behind Validating Data |
| | | Using Validation Routines |
| | | Handling Errors |
| | | Validating Strings |
| | | Validating Sequences |
| | | Validating Against a List of Choices |
| | | Validating Numbers |
| | | Processing Validated Data |
| | | What You Have Learned |
| | Lesson 13. External Data Connections |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Understanding Data Sources and Data Formats |
| | | GET versus POST |
| | | Using the LoadVars Class |
| | | Policy Files |
| | | Using Shared Objects |
| | | Using the WebServiceConnector Component |
| | | What You Have Learned |
| | Lesson 14. XML and Flash |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | XML Basics |
| | | Using the XML Class |
| | | Using Socket Servers |
| | | What You Have Learned |
| | Lesson 15. External Interface |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Getting Started with ExternalInterface |
| | | Configuring HTML for Basic ExternalInterface Calls |
| | | Calling JavaScript Functions from ActionScript |
| | | Using JavaScript Functionality from Flash |
| | | Calling ActionScript Functions from JavaScript |
| | | Building a Quiz Application |
| | | What You Have Learned |
| | Lesson 16. Sound and Video |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Controlling Sound with ActionScript |
| | | Creating a Sound Instance |
| | | Dragging a Movie Clip Instance Within a Boundary |
| | | Controlling Volume |
| | | Controlling Panning |
| | | Attaching Sounds and Controlling Sound Playback |
| | | Loading and Controlling External Video |
| | | What You Have Learned |
| | Lesson 17. Printing and Context Menus |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Flash Printing versus Browser Printing |
| | | Using the PrintJob Class |
| | | Creating Custom Context Menus |
| | | What You Have Learned |
| | Lesson 18. Maximum-Strength SWF Files |
| | | What You Will Learn |
| | | Approximate Time |
| | | Lesson Files |
| | | Understanding fscommand() |
| | | Using Zinc |
| | | Using FlashVars |
| | | What You Have Learned |
| | Index |