0%

Book Description

Visual learners can get up and running quickly on ActionScript programming skills for Flash CS4

If you're a programmer who learns best when you see how something is done, this book will have you up and running with ActionScipt in no time. Step-by-step, two-page lessons show you the core programming foundations you must master to create rich Internet content using the preferred language for work with Flash. The visual approach breaks big topics into bite-sized modules, with high-resolution screen shots to illustrate each task.

You'll learn such skills as how to add interactivity, animate in code, and work with external content to create Flash projects with pizzazz.

  • Designed for visual learners, with two-page lessons and step-by-step, fully illustrated instructions

  • Covers foundation ActionScript, animating, interactivity, and working with external content

  • Demonstrates using the Actions panel, syntax rules, and essential language foundations Shows how to use variables and arrays; write functions, classes, if/else statements, and loops; and work with static classes such as Math

  • Explores essential techniques such as loading visual aspects at runtime, text from delimited text files and XML, and server-based assets using Flash Remoting

  • Companion Web site features all the code that appears in the text, ready to plug into your Web pages

ActionScript: Your visual blueprint to creating interactive projects in Flash CS4 Professional is the visual learner's way to master ActionScript quickly and easily.

Book Description

Visual learners can get up and running quickly on ActionScript programming skills for Flash CS4

If you're a programmer who learns best when you see how something is done, this book will have you up and running with ActionScipt in no time. Step-by-step, two-page lessons show you the core programming foundations you must master to create rich Internet content using the preferred language for work with Flash. The visual approach breaks big topics into bite-sized modules, with high-resolution screen shots to illustrate each task.

You'll learn such skills as how to add interactivity, animate in code, and work with external content to create Flash projects with pizzazz.

  • Designed for visual learners, with two-page lessons and step-by-step, fully illustrated instructions

  • Covers foundation ActionScript, animating, interactivity, and working with external content

  • Demonstrates using the Actions panel, syntax rules, and essential language foundations Shows how to use variables and arrays; write functions, classes, if/else statements, and loops; and work with static classes such as Math

  • Explores essential techniques such as loading visual aspects at runtime, text from delimited text files and XML, and server-based assets using Flash Remoting

  • Companion Web site features all the code that appears in the text, ready to plug into your Web pages

ActionScript: Your visual blueprint to creating interactive projects in Flash CS4 Professional is the visual learner's way to master ActionScript quickly and easily.

Table of Contents

  1. Copyright
    1. Trademark Acknowledgments
    2. Contact Us
  2. Praise For Visual Books...
  3. Credits
  4. About the Author
  5. Author's Acknowledgments
  6. HOW TO USE THIS VISUAL BLUEPRINT BOOK
    1. Who Needs This Book
      1. Who Needs This Book
      2. Book Organization
      3. What You Need to Use This Book
      4. Windows Requirements
      5. Mac Requirements
      6. The Conventions in This Book
        1. Apply It
        2. Extra
      7. What's on the Web Site
      8. Operating System Difference
  7. 1. Introducing ActionScript
    1. 1.1. Introducing Flash
    2. 1.2. Understanding Flash Player 10
    3. 1.3. Introducing ActionScript 3.0
    4. 1.4. Create a New Flash Movie
    5. 1.5. Using the Actions Panel
  8. 2. Introducing the Basic Syntax of ActionScript
    1. 2.1. Understanding Object-Oriented Programming
    2. 2.2. Understanding Objects and Classes
    3. 2.3. Understanding Properties and Methods
    4. 2.4. Static Classes
    5. 2.5. Understanding ActionScript Syntax Rules
    6. 2.6. Using Semicolons
    7. 2.7. Using Curly Braces and Parentheses
    8. 2.8. Whitespace
    9. 2.9. Case Sensitivity
    10. 2.10. Dot Syntax
    11. 2.11. Create a Variable
      1. 2.11.1. Create a Variable
    12. 2.12. Understanding Data Types
    13. 2.13. Types of Data
    14. 2.14. Data Types in ActionScript 3.0
      1. 2.14.1. Fundamental Data Types
      2. 2.14.2. Simple Data Types
      3. 2.14.3. Complex Data Types
    15. 2.15. Declaring Data Types
    16. 2.16. Untyped Values
    17. 2.17. Casting Values
    18. 2.18. Test Your Flash Movie
      1. 2.18.1. Test Your Flash Movie
    19. 2.19. Concatenate Strings
      1. 2.19.1. Concatenate Strings
    20. 2.20. Trace Variables
      1. 2.20.1. Trace Variables
      2. 2.20.2. Extra
    21. 2.21. Create an Array
      1. 2.21.1. Create an Array
      2. 2.21.2. Apply It
    22. 2.22. Add and Remove Elements from an Array
      1. 2.22.1. Add and Remove Elements from an Array
        1. 2.22.1.1. Add An Element to an Array
        2. 2.22.1.2. Remove an Element From an Array
      2. 2.22.2. Extra
    23. 2.23. Create an Array in an Array
      1. 2.23.1. Create an Array in an Array
      2. 2.23.2. Apply It
    24. 2.24. Create a Generic Object
      1. 2.24.1. Create a Generic Object
      2. 2.24.2. Apply It
    25. 2.25. Add Constants
      1. 2.25.1. Add Constants
    26. 2.26. Add Comments to Your Code
      1. 2.26.1. Add Comments to Your Code
        1. 2.26.1.1. Insert a Single-line comment
        2. 2.26.1.2. Insert a Multiline comment
    27. 2.27. Understanding Coding Best Practices
    28. 2.28. Plan and Organize Your Code
    29. 2.29. Be Consistent
    30. 2.30. Immediately Add Closing Parentheses and Curly Braces
    31. 2.31. Add Whitespace
    32. 2.32. Document the Code with Comments
    33. 2.33. Use Descriptive Names
  9. 3. Controlling Objects on the Stage
    1. 3.1. Draw Shapes in Flash
      1. 3.1.1. Draw Shapes in Flash
        1. 3.1.1.1. Draw a stroked shape
        2. 3.1.1.2. Draw a filled Shape
      2. 3.1.2. Extra
    2. 3.2. Introducing Symbols
    3. 3.3. Flash Symbols
    4. 3.4. Storing Movie Elements
    5. 3.5. Editing Symbols
    6. 3.6. Types of Symbols
      1. 3.6.1. Graphic Symbols
      2. 3.6.2. Button Symbols
      3. 3.6.3. MovieClip Symbols
    7. 3.7. Create a Symbol
      1. 3.7.1. Create a Symbol
        1. 3.7.1.1. convert to a symbol
        2. 3.7.1.2. Create a New Symbol
      2. 3.7.2. Extra
    8. 3.8. Insert and Name an Instance
      1. 3.8.1. Insert and Name an Instance
      2. 3.8.2. Extra
    9. 3.9. Set Instance Properties Using the Properties Panel
      1. 3.9.1. Set Instance Properties Using the Properties Panel
      2. 3.9.2. Extra
    10. 3.10. Set Instance Properties in Code
      1. 3.10.1. Set Instance Properties in Code
      2. 3.10.2. Extra
  10. 4. Working with Nonvisual Classes
    1. 4.1. Perform Simple Mathematical Operations
      1. 4.1.1. Perform Simple Mathematical Operations
      2. 4.1.2. Extra
    2. 4.2. Perform Complex Mathematical Operations with the Math Class
      1. 4.2.1. Perform Complex Mathematical Operations with the Math Class
      2. 4.2.2. Extra
    3. 4.3. Generate Random Numbers
      1. 4.3.1. Generate Random Numbers
      2. 4.3.2. Apply It
    4. 4.4. Create Instances of the Date Class
      1. 4.4.1. Create Instances of the Date Class
        1. 4.4.1.1. Get the Day of the Week
        2. 4.4.1.2. SET YOUR BIRTHDATE
      2. 4.4.2. Extra
    5. 4.5. Perform Math on Dates
      1. 4.5.1. Perform Math on Dates
      2. 4.5.2. Extra
  11. 5. Writing Functions
    1. 5.1. Write a function
      1. 5.1.1. Write a Function
      2. 5.1.2. Extra
    2. 5.2. Call a Function
      1. 5.2.1. Call a Function
      2. 5.2.2. Extra
    3. 5.3. Pass Data to Functions
      1. 5.3.1. Pass Data to Functions
      2. 5.3.2. Apply It
    4. 5.4. Return a Value from a Function
      1. 5.4.1. Return a Value from a Function
      2. 5.4.2. Apply It
  12. 6. Creating Custom Classes
    1. 6.1. Create a Package
      1. 6.1.1. Create a Package in Windows
        1. 6.1.1.1. Create a Package on Macintosh
      2. 6.1.2. Extra
    2. 6.2. Create a New ActionScript File
      1. 6.2.1. Create a New ActionScript File
        1. 6.2.1.1. Create the File
        2. 6.2.1.2. Save the File to A Package
      2. 6.2.2. Apply It
    3. 6.3. Create a Custom Class Skeleton
      1. 6.3.1. Create a Custom Class Skeleton
      2. 6.3.2. Extra
    4. 6.4. Define Properties of the Class
      1. 6.4.1. Define Properties of the Class
      2. 6.4.2. Extra
    5. 6.5. Create a Constructor
      1. 6.5.1. Create a Constructor
      2. 6.5.2. Extra
    6. 6.6. Define a Method
      1. 6.6.1. Define a Method
      2. 6.6.2. Extra
    7. 6.7. Extend a Class
      1. 6.7.1. Extend a Class
      2. 6.7.2. Extra
    8. 6.8. Using a Custom Class
      1. 6.8.1. Using a Custom Class
      2. 6.8.2. Apply It
    9. 6.9. Define a Document Class
      1. 6.9.1. Define a Document Class
      2. 6.9.2. Extra
    10. 6.10. Get and Set Class Properties
      1. 6.10.1. Get and Set Class Properties
      2. 6.10.2. Apply It
    11. 6.11. Add a Static Property to a Class
      1. 6.11.1. Add a Static Property to a Class
      2. 6.11.2. Extra
  13. 7. Create an Event Handler
    1. 7.1. Create an Event Handler
      1. 7.1.1. Extra
    2. 7.2. Call an Event from a Button
      1. 7.2.1. Call an Event from a Button
      2. 7.2.2. Extra
    3. 7.3. Define Events in a Custom Class
      1. 7.3.1. Define Events in a Custom Class
      2. 7.3.2. Extra
    4. 7.4. Remove Event Listeners
      1. 7.4.1. Remove Event LIsteners
      2. 7.4.2. Extra
    5. 7.5. Using the Target Property
      1. 7.5.1. Using the Target Property
      2. 7.5.2. Extra
  14. 8. Controlling the Timeline in Code
    1. 8.1. Stop a Movie
      1. 8.1.1. Stop a Movie
        1. 8.1.1.1. Create an Object That Moves
        2. 8.1.1.2. STOP THE MOVIE
      2. 8.1.2. Extra
    2. 8.2. Go to a Specific Frame in a Movie
      1. 8.2.1. Go to a Specific Frame in a Movie
        1. 8.2.1.1. STOP A MOVIE WITH A MOTION TWEEN
        2. 8.2.1.2. ADD A BUTTON THAT REWINDS THE MOVIE AND PLAYS IT AGAIN
      2. 8.2.2. Extra
    3. 8.3. Add Code to a MovieClip's Timeline
      1. 8.3.1. Add Code to a MovieClip's Timeline
      2. 8.3.2. Extra
    4. 8.4. Control a MovieClip from the Main Timeline
      1. 8.4.1. Control a MovieClip from the Main Timeline
      2. 8.4.2. Extra
    5. 8.5. Work with the Stage in Code
      1. 8.5.1. Work with the Stage in Code
        1. 8.5.1.1. PLACE INSTANCES ON THE STAGE
        2. 8.5.1.2. POSITION THE INSTANCES ON THE STAGE USING CODE
      2. 8.5.2. Apply It
    6. 8.6. Add MovieClips to the Stage through Code
      1. 8.6.1. Add MovieClips to the Stage through Code
        1. 8.6.1.1. CREATE A MOVIECLIP
        2. 8.6.1.2. REMOVE THE INSTANCE FROM THE STAGE
        3. 8.6.1.3. EXPORT THE MOVIECLIP FOR ACTIONSCRIPT
      2. 8.6.2. Extra
    7. 8.7. Add MovieClips to the Stage through Code (continued)
      1. 8.7.1.
        1. 8.7.1.1. ADD THE MOVIECLIP THROUGH CODE
        2. 8.7.1.2. SET THE MOVIECLIP'S POSITION AND ROTATION
        3. 8.7.1.3. VIEW THE RESULTS
      2. 8.7.2. Extra
    8. 8.8. Remove Elements from the Stage
      1. 8.8.1. Remove Elements from the Stage
      2. 8.8.2. Apply It
  15. 9. Working with Text
    1. 9.1. Create a Dynamic Text Field Visually
      1. 9.1.1. Create a Dynamic Text Field Visually
      2. 9.1.2. Extra
    2. 9.2. Create a Dynamic Text Field in Code
      1. 9.2.1. Create a Dynamic Text Field in Code
      2. 9.2.2. Apply It
    3. 9.3. Create an Input Text Field Visually
      1. 9.3.1. Create an Input Text Field Visually
      2. 9.3.2. Extra
    4. 9.4. Create an Input Text Field in Code
      1. 9.4.1. Create an Input Text Field in Code
      2. 9.4.2. Extra
    5. 9.5. Work with TextField Events
      1. 9.5.1. Work with TextField Events
      2. 9.5.2. Extra
    6. 9.6. Find Characters within Strings
      1. 9.6.1. Find Characters within Strings
      2. 9.6.2. Apply It
    7. 9.7. Manipulate Strings
      1. 9.7.1. Manipulate Strings
      2. 9.7.2. Apply It
    8. 9.8. Get Pieces of Strings
      1. 9.8.1. Get Pieces of Strings
      2. 9.8.2. Apply It
    9. 9.9. Convert Data Types
      1. 9.9.1. Convert Data Types
      2. 9.9.2. Extra
  16. 10. Formatting Text
    1. 10.1. Understanding the TextFormat Class
    2. 10.2. Class Properties
      1. 10.2.1. align
      2. 10.2.2. blockIndent
      3. 10.2.3. bold
      4. 10.2.4. bullet
      5. 10.2.5. color
      6. 10.2.6. font
      7. 10.2.7. indent
      8. 10.2.8. italic
      9. 10.2.9. kerning
    3. 10.3. Class Properties (continued)
      1. 10.3.1. leading
      2. 10.3.2. leftMargin and rightMargin
      3. 10.3.3. letterSpacing
      4. 10.3.4. size
      5. 10.3.5. tabStops
      6. 10.3.6. target
      7. 10.3.7. underline
      8. 10.3.8. url
    4. 10.4. Default Values
    5. 10.5. Apply Formatting to a Text Field
      1. 10.5.1. Apply Formatting to a Text Field
        1. 10.5.1.1. Create the TextFormat Instance
        2. 10.5.1.2. CREATE THE TEXTFIELD INSTANCE
        3. 10.5.1.3. APPLY THE FORMATTING AND VIEW THE RESULTS
      2. 10.5.2. Extra
    6. 10.6. Using HTML Text
      1. 10.6.1. Using HTML Text
      2. 10.6.2. Extra
  17. 11. Making Decisions in Code
    1. 11.1. Write an If Statement
      1. 11.1.1. Write an If Statement
        1. 11.1.1.1. WRITE A STATEMENT THAT COMPARES TWO VALUES FOR EQUALITY
        2. 11.1.1.2. TEST THE STATEMENT
      2. 11.1.2. Apply It
    2. 11.2. Using Else and Else If Clauses
      1. 11.2.1. Using Else and Else If Clauses
      2. 11.2.2. Extra
    3. 11.3. Test Multiple Conditions
      1. 11.3.1. Test Multiple Conditions
      2. 11.3.2. Apply It
    4. 11.4. Replace If/Else Clauses with a Switch Statement
      1. 11.4.1. Replace If/Else Clauses with a Switch Statement
      2. 11.4.2. Apply It
  18. 12. Looping over Code
    1. 12.1. Write a For Loop
      1. 12.1.1. Write a For Loop
      2. 12.1.2. Apply It
    2. 12.2. Write a While Loop
      1. 12.2.1. Write a While Loop
        1. 12.2.1.1. COUNT THE NUMBER OF NAMES IN A LIST
        2. 12.2.1.2. TEST THE MOVIE
      2. 12.2.2. Apply It
    3. 12.3. Loop over an Array
      1. 12.3.1. Loop over an Array
        1. 12.3.1.1. Place The Values of an Array in Text Fields
        2. 12.3.1.2. Test the Movie
      2. 12.3.2. Extra
  19. 13. Animating in Code
    1. 13.1. Using the EnterFrame Event
      1. 13.1.1. Using the EnterFrame Event
        1. 13.1.1.1. MOVE AN OBJECT ACROSS THE STAGE HORIZONTALLY
        2. 13.1.1.2. TEST THE MOVIE
      2. 13.1.2. Apply It
    2. 13.2. Animate MovieClips That Scale and Fade
      1. 13.2.1. Animate MovieClips That Scale and Fade
        1. 13.2.1.1. Have a central Object Grow and Fade In
        2. 13.2.1.2. Test the Movie
      2. 13.2.2. Extra
    3. 13.3. Change the Speed of Animation
      1. 13.3.1. Change the Speed of Animation
        1. 13.3.1.1. MOVE AN OBJECT ACROSS THE STAGE HORIZONTALLY AND HAVE IT SPEED UP
        2. 13.3.1.2. TEST THE MOVIE
      2. 13.3.2. Apply It
    4. 13.4. Using the Timer Class
      1. 13.4.1. Using the Timer Class
        1. 13.4.1.1. MOVE AN OBJECT ACROSS THE STAGE HORIZONTALLY AND HAVE IT SPEED UP
        2. 13.4.1.2. TEST THE MOVIE
      2. 13.4.2. Extra
    5. 13.5. Create Tweens in Script
      1. 13.5.1. Create Tweens in Script
        1. 13.5.1.1. MOVE AN OBJECT ACROSS THE STAGE HORIZONTALLY AND HAVE IT SPEED UP
        2. 13.5.1.2. TEST THE MOVIE
      2. 13.5.2. Apply It
    6. 13.6. Ease Tweened Animation
      1. 13.6.1. Ease Tweened Animation
        1. 13.6.1.1. BOUNCE AN OBJECT USING THE ELASTIC CLASS
        2. 13.6.1.2. TEST THE MOVIE
      2. 13.6.2. Extra
    7. 13.7. Allow Users to Drag and Drop Objects
      1. 13.7.1. Allow Users to Drag and Drop Objects
        1. 13.7.1.1. CREATE TWO DRAGGABLE OBJECTS
        2. 13.7.1.2. MAKE ONE MOVE TO A SPECIFIED LOCATION IF DRAGGED OVER THE OTHER
        3. 13.7.1.3. TEST THE MOVIE
      2. 13.7.2. Extra
    8. 13.8. Animate in 3D
      1. 13.8.1. Animate in 3D
        1. 13.8.1.1. ROTATE AN OBJECT
        2. 13.8.1.2. TEST THE MOVIE
      2. 13.8.2. Extra
  20. 14. Adding Keyboard Controls
    1. 14.1. React to a Key Press
      1. 14.1.1. React to a Key Press
        1. 14.1.1.1. HAVE A KEY PRESS MOVE AN OBJECT
        2. 14.1.1.2. TEST THE MOVIE
      2. 14.1.2. Extra
    2. 14.2. Using Keyboard Constants
      1. 14.2.1. Using Keyboard Constants
        1. 14.2.1.1. HAVE A KEY PRESS MOVE AN OBJECT
        2. 14.2.1.2. TEST THE MOVIE
      2. 14.2.2. Apply It
  21. 15. Working with Sound
    1. 15.1. Understanding Sound in Flash
    2. 15.2. Understanding Digital Sounds
    3. 15.3. Sounds on the Timeline
    4. 15.4. Sound File Formats
    5. 15.5. Adding Sounds in Flash
    6. 15.6. Controlling Sounds
    7. 15.7. Using Sound Judiciously
    8. 15.8. Add a Sound to the Library and Play It
      1. 15.8.1. Add a Sound to the Library and Play It
      2. 15.8.2. Extra
    9. 15.9. Load and Play an External Sound
      1. 15.9.1. Load and Play an External Sound
      2. 15.9.2. Extra
    10. 15.10. Avoid Errors Due to Loading Delays
      1. 15.10.1. Avoid Errors Due to Loading Delays
        1. 15.10.1.1. WAIT FOR THE SOUND TO LOAD
        2. 15.10.1.2. HANDLE LOADING ERRORS
      2. 15.10.2. Apply It
    11. 15.11. Pause and Resume Sounds
      1. 15.11.1. Pause and Resume Sounds
        1. 15.11.1.1. CREATE BUTTONS TO PAUSE AND RESUME THE SOUNDS
        2. 15.11.1.2. TEST THE MOVIE
      2. 15.11.2. Apply It
    12. 15.12. Control Sound Volume
      1. 15.12.1. Control Sound Volume
        1. 15.12.1.1. CREATE A MUTE/UNMUTE BUTTON
        2. 15.12.1.2. TEST THE MOVIE
      2. 15.12.2. Extra
    13. 15.13. Display Information about Sound Files
      1. 15.13.1. Display Information about Sound Files
        1. 15.13.1.1. DISPLAY THE SONG TITLE AND LENGTH
        2. 15.13.1.2. TEST THE MOVIE
      2. 15.13.2. Apply It
  22. 16. Working with Video
    1. 16.1. Convert Video to Flash Video
      1. 16.1.1. Convert Video to Flash Video
      2. 16.1.2. Extra
    2. 16.2. Using the FLVPlayback Component Visually
      1. 16.2.1. Using the FLVPlayback Component Visually
      2. 16.2.2. Extra
    3. 16.3. Using the FLVPlayback Component in Code
      1. 16.3.1. Using the FLVPlayback Component in Code
        1. 16.3.1.1. ADD THE FLVPLAYBACK COMPONENT TO YOUR LIBRARY
        2. 16.3.1.2. USE THE COMPONENT IN CODE
      2. 16.3.2. Extra
    4. 16.4. Go Full Screen
      1. 16.4.1. Go Full Screen
      2. 16.4.2. Apply It
    5. 16.5. Add Closed Captioning
      1. 16.5.1. Add Closed Captioning
        1. 16.5.1.1. CREATE YOUR CLOSED CAPTIONING DOCUMENT
      2. 16.5.2. Extra
    6. 16.6. Add Closed Captioning (continued)
      1. 16.6.1. Add Closed Captioning (continued)
        1. 16.6.1.1. ADD THE CAPTIONS TO YOUR FLASH VIDEO
      2. 16.6.2. Extra
    7. 16.7. Style Closed Captions
      1. 16.7.1. Style Closed Captions
      2. 16.7.2. Apply It
  23. 17. Working with Data
    1. 17.1. Understanding XML and E4X
    2. 17.2. The Background of XML
    3. 17.3. Writing XML
    4. 17.4. XML and HTML Similarities
    5. 17.5. XML Syntax
      1. 17.5.1. Document Structure
      2. 17.5.2. Case Sensitivity
    6. 17.6. XML Syntax (continued)
      1. 17.6.1. Whitespace
      2. 17.6.2. Comments
      3. 17.6.3. Reserved Characters and CDATA
      4. 17.6.4. Parsing Instructions
    7. 17.7. E4X
    8. 17.8. Embed XML in ActionScript
      1. 17.8.1. Embed XML in ActionScript
        1. 17.8.1.1. STORE RELATED DATA
        2. 17.8.1.2. TEST THE MOVIE
      2. 17.8.2. Extra
    9. 17.9. Read XML
      1. 17.9.1. Read XML
      2. 17.9.2. Apply It
    10. 17.10. Filter XML
      1. 17.10.1. Filter XML
        1. 17.10.1.1. DISPLAY FILTERED DATA IN A TEXT FIELD
        2. 17.10.1.2. TEST THE MOVIE
      2. 17.10.2. Apply It
    11. 17.11. Write XML
      1. 17.11.1. Write XML
      2. 17.11.2. Apply It
    12. 17.12. Load XML at Runtime
      1. 17.12.1. Load XML at Runtime
      2. 17.12.2. Extra
  24. 18. Exchanging Data with a Server
    1. 18.1. Download the Apache Web Server
      1. 18.1.1. Download the Apache Web Server
      2. 18.1.2. Extra
    2. 18.2. Install the Apache Server
      1. 18.2.1. Install the Apache Server
      2. 18.2.2. Extra
    3. 18.3. Download Adobe ColdFusion
      1. 18.3.1. Download Adobe ColdFusion
      2. 18.3.2. Extra
    4. 18.4. Install ColdFusion
      1. 18.4.1. Install ColdFusion
      2. 18.4.2. Extra
    5. 18.5. Download PHP
      1. 18.5.1. Download PHP
      2. 18.5.2. Extra
    6. 18.6. Install PHP
      1. 18.6.1. Install PHP
      2. 18.6.2. Extra
    7. 18.7. Send Data to the Server
      1. 18.7.1. Send Data to the Server
        1. 18.7.1.1. SEND DATA VIA A TEXT FIELD AND A SUBMIT BUTTON
        2. 18.7.1.2. TEST THE MOVIE
      2. 18.7.2. Extra
    8. 18.8. Create XML with ColdFusion
      1. 18.8.1. Create XML with ColdFusion
        1. 18.8.1.1. DISPLAY A NAME AND THE CURRENT DATE
        2. 18.8.1.2. TEST THE COLDFUSION
      2. 18.8.2. Extra
    9. 18.9. Create XML with PHP
      1. 18.9.1. Create XML with PHP
        1. 18.9.1.1. DISPLAY A NAME
        2. 18.9.1.2. TEST THE PHP
      2. 18.9.2. Extra
    10. 18.10. Read Data from the Server
      1. 18.10.1. Read Data from the Server
        1. 18.10.1.1. CREATE A FORM THAT REQUESTS AND RETURNS A NAME AND EMAIL ADDRESS
      2. 18.10.2. Extra
    11. 18.11. Read Data from the Server (continued)
      1. 18.11.1. Read Data from the Server (continued)
        1. 18.11.1.1. CREATE THE COLDFUSION SCRIPT TO RETURN THE NAME AND EMAIL ADDRESS
        2. 18.11.1.2. FINISH THE FLASH FILE
        3. 18.11.1.3. Test the Script
      2. 18.11.2. Apply It
  25. 19. Drawing Vectors in Code
    1. 19.1. Draw Lines in Code
      1. 19.1.1. Draw Lines in Code
      2. 19.1.2. Extra
    2. 19.2. Draw Curves in Code
      1. 19.2.1. Draw Curves in Code
      2. 19.2.2. Apply It
    3. 19.3. Draw Shapes in Code
      1. 19.3.1. Draw Shapes in Code
      2. 19.3.2. Extra
    4. 19.4. Create Fills
      1. 19.4.1. Create Fills
        1. 19.4.1.1. CREATE A FILL
        2. 19.4.1.2. CREATE A GRADIENT
      2. 19.4.2. Extra
    5. 19.5. Transform Visual Objects
      1. 19.5.1. Transform Visual Objects
        1. 19.5.1.1. CHANGE A FILLED OBJECT'S COLOR AT RANDOM
        2. 19.5.1.2. TEST THE MOVIE
      2. 19.5.2. Apply It
    6. 19.6. Add Filters through Code
      1. 19.6.1. Add Filters through Code
        1. 19.6.1.1. APPLY THE DROP SHADOW FILTER TO A FILLED OBJECT
        2. 19.6.1.2. TEST THE MOVIE
      2. 19.6.2. Extra
    7. 19.7. Cache Vectors As Bitmaps
      1. 19.7.1. Cache Vectors As Bitmaps
        1. 19.7.1.1. Cache a Filled Object As a Bitmap
        2. 19.7.1.2. Test the Movie
      2. 19.7.2. Extra
    8. 19.8. Draw a Bitmap
      1. 19.8.1. Draw a Bitmap
      2. 19.8.2. Extra
    9. 19.9. Add an Image to the Library and Create a Bitmap from It
      1. 19.9.1. Add an Image to the Library and Create a Bitmap from It
        1. 19.9.1.1. Add the Image to the Library
        2. 19.9.1.2. EXPORT THE IMAGE FOR ACTIONSCRIPT
        3. 19.9.1.3. Create the Bitmap
        4. 19.9.1.4. Test the Movie
      2. 19.9.2. Apply It
  26. 20. Working with AIR
    1. 20.1. Understanding AIR
    2. 20.2. The Adobe Integrated Runtime
    3. 20.3. AIR Development Environments
    4. 20.4. AIR Components
    5. 20.5. AIR Capabilities
    6. 20.6. ActionScript and AIR
    7. 20.7. AIR and Web Applications
    8. 20.8. Connected and Disconnected Applications
    9. 20.9. Custom Logos
    10. 20.10. Testing AIR Applications
    11. 20.11. Create a New AIR Application
      1. 20.11.1. Create a New AIR Application
      2. 20.11.2. Extra
    12. 20.12. Digitally Sign Your Application
      1. 20.12.1. Digitally Sign Your Application
      2. 20.12.2. Extra
    13. 20.13. Detect User Inactivity
      1. 20.13.1. Detect User Inactivity
      2. 20.13.2. Extra
    14. 20.14. Allow Users to Save Data
      1. 20.14.1. Allow Users to Save Data
        1. 20.14.1.1. Use a Button to Save Data from a Text Field
        2. 20.14.1.2. Test the Movie
      2. 20.14.2. Apply It
  27. A. ActionScript Class Reference
  28. B. ActionScript Operators Reference
  29. C. Supported HTML Tags
54.144.233.198