| | Copyright |
| | About the Author |
| | Acknowledgments |
| | Tell Us What You Think! |
| | Introduction |
| | | Who Should Read This Book |
| | | How This Book Is Organized |
| | | Conventions |
| | | Additional Information |
|
| | Part I. Getting Started with ActionScript |
| | | Hour 1. Your First Look at ActionScript |
| | | What Scripts Are |
| | | What Scripts Can Do |
| | | Where Scripts Go |
| | | Task: Your First Script |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 2. Using the Script Editing Window |
| | | Accessing the Actions Panel |
| | | Normal Mode |
| | | Task: Writing Code in Normal Mode |
| | | Using Flash's Help System |
| | | Expert Mode |
| | | Task: Writing Code in Expert Mode |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 3. Learning to Program |
| | | How Computers Think |
| | | Commands, Functions and Operations |
| | | Variables |
| | | Conditions |
| | | Loops |
| | | Achieving the Impossible |
| | | Writing Bug-Free Code |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 4. Writing Code in Flash |
| | | Parts of a Script |
| | | Output Window |
| | | Task: Send a Message to the Output Window |
| | | Local and Global Variables |
| | | Comparisons and Operations |
| | | Task: Operations Quiz |
| | | Conditions |
| | | Loops |
| | | Functions |
| | | Dot Syntax |
| | | Comments |
| | | Debugging |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
|
| | Part II. Navigation and Animation with ActionScript |
| | | Hour 5. Controlling the Flow of the Movie |
| | | Stopping the Movie |
| | | Jumping from Frame to Frame |
| | | Creating Buttons |
| | | Task: Slideshow |
| | | Task: Simple Presentation |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 6. Controlling Movie Clips |
| | | Telling Movie Clips What to Do |
| | | Task: Animation Playback Controller |
| | | Targeting Movie Clips |
| | | Movie Clip Scripts |
| | | Task: Backward Movie Clip |
| | | Task: Clips Controlling Other Clips |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 7. Moving and Changing Movie Clips |
| | | Position |
| | | Task: Bouncing Ball |
| | | Mouse Location |
| | | Task: Follow the Mouse |
| | | Move Clip Rotation |
| | | Task: A Rotating Movie Clip |
| | | Stretching and Shrinking Movie Clips |
| | | Task: Simulated 3D Scaling |
| | | Visibility |
| | | Task: Fading Movie Clip |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 8. Selecting and Dragging Movie Clips |
| | | Selection |
| | | Task: Keypad Lock |
| | | Dragging |
| | | Drag and Drop |
| | | Task: Matching Game |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
|
| | Part III. Manipulating Information with ActionScript |
| | | Hour 9. Getting Input from the User |
| | | Detecting Keypresses |
| | | Task: Keyboard-Controlled Movie Clip |
| | | Input Text |
| | | String Operations and Functions |
| | | Task: User Input Form |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 10. Creating and Controlling Text |
| | | Dynamic Text |
| | | External Variables |
| | | Task: News Ticker |
| | | Task: Flashy Text |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 11. Working with Numbers |
| | | Numerical Operators and Functions |
| | | Trigonometry Functions |
| | | Strings and Numbers |
| | | Random Numbers |
| | | Task: Simple Calculator |
| | | Task: Orbiting Planets |
| | | Task: Random Snowflakes |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 12. Objects and Arrays |
| | | Custom Variable Objects |
| | | Color Objects |
| | | Date Objects |
| | | Arrays |
| | | Task: Word Animation |
| | | Task: Dragging with Trails |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
|
| | Part IV. User Interface Elements |
| | | Hour 13. Rollovers |
| | | Creating Custom Cursors |
| | | Task: Full-Time Custom Cursor |
| | | Task: Rollover Custom Cursor |
| | | Information Rollovers |
| | | Task: Quick Reference Application |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 14. Scrolling |
| | | Scrollbar Elements |
| | | Dynamic Text Scrolling |
| | | Task: Simple Text Scrolling |
| | | Task: Full-Featured Text Scrolling |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 15. User Input Elements |
| | | Check Boxes |
| | | Radio Buttons |
| | | Task: Simple Survey |
| | | Input Text Tab Order |
| | | Restricting Text Input |
| | | Task: Checking for a Valid Input |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 16. Pull-Down Menus and Dynamic Buttons |
| | | Simple Pull-Down Menus |
| | | Task: Using Pull-Down Menus |
| | | Push Pull-Down Menus |
| | | Dynamic Buttons |
| | | Task: Using Dynamic Buttons |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
|
| | Part V. Controlling External Events with ActionScript |
| | | Hour 17. Browser Navigation and Communication |
| | | Loading Browser Pages |
| | | Task: Navigation Bar |
| | | ActionScript and JavaScript |
| | | Task: Open a New Window |
| | | Task: JavaScript-Controlled Slideshow |
| | | Special Projector Commands |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 18. Sending Information to the Server |
| | | The LoadVars Object |
| | | Server-Side Applications |
| | | Task: Recording Survey Results |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 19. Using XML with Flash |
| | | XML Basics |
| | | The XML Object |
| | | Task: XML-Powered Display |
| | | Recursive XML Parsing |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 20. Printing |
| | | Setting Up Your Movie for Printing |
| | | The Print Commands |
| | | Task: Printable Form |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
|
| | Part VI. Advanced Topics |
| | | Hour 21. Using Components |
| | | ActionScript for Flash's Built-In Components |
| | | Task: Form with Components |
| | | Changing the Style of a Component |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 22. Controlling Sound with ActionScript |
| | | Playing a Sound |
| | | Task: Panning Sound |
| | | Sound Transforms |
| | | Task: Beat Box |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 23. Managing Movie Streaming |
| | | Monitoring Loading |
| | | Task: Simple Loader |
| | | Task: Complex Loader |
| | | Loading External Media |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
| | | Hour 24. Drawing with ActionScript |
| | | Drawing Lines |
| | | Task: Allowing the User to Draw |
| | | Creating New Movie Clips |
| | | Task: Dynamic Snowflakes |
| | | Creating Text |
| | | Task: Flying Words |
| | | Summary |
| | | Q&A |
| | | Workshop |
|
|
| | Index |