People often see cool web applications like YouTube and wonder how they were created. The answer in many cases is with ActionScript and Flash. ActionScript 3.0 in Flash CS4 for Designers is an introductory course that teaches new designers the building blocks of web programming. Todd Perkins covers the development of web applications from the ground up, starting with basic programming, terminology, and coding syntax. He also covers how to use keyboard controls, mouse actions, and drag-and-drop actions to allow users to interact with the applications. Exercise files accompany the course.
Table of contents
0. Introduction
- Welcome
- Using the exercise files
- Overview
- Understanding ActionScript
- Understanding the Actions panel
- Understanding trace statements
- Working with comments
- Understanding variables
- Understanding the syntax of variables
- Assigning variable values
- Retrieving variable values
- Working with different data types
- Understanding functions
- Using functions
- Understanding function syntax
- Understanding parameters
- Returning values
- Using local variables
- Understanding dot syntax
- Controlling display properties
- Creating objects dynamically
- Controlling nested movie clips
- Understanding events and event listeners
- Handling mouse clicks
- Handling other mouse events
- Working with keyboard events
- Removing event listeners
- Understanding conditional statements
- Writing if statements
- Understanding conditional operators
- Writing compound if statements
- Writing else statements
- Writing else-if statements
- Working with switch-case statements
- Detecting collisions
- Understanding mathematical operators and number data types
- Aligning objects to the edge of the stage
- Aligning to the center
- Using random numbers between 0 and 1
- Using a range of random numbers
- Creating a random-number function
- Creating a tip calculator
- Creating an array
- Referencing an index in an array
- Using shorthand notation to create arrays
- Finding indexes
- Making a game with a random array index
- Understanding loops
- Creating for loops
- Using for loops
- Sorting mail with a loop
- Using while loops
- Understanding classes
- Extending classes
- Understanding methods
- Using properties
- Instantiating classes
- Setting up multiple classes
- Creating packages
- Loading external text
- Appending text
- Reading HTML
- Styling links with CSS
- Loading bitmaps
- Loading SWF files
- Creating a preloader
- Loading sound
- Stopping sound
- Controlling volume
- Understanding video
- Loading video
- Controlling video playback
- Previewing the Calculator application
- Setting up the variables
- Adding event listeners
- Controlling numeric input
- Setting up the Dot and Clear buttons
- Finding the current operation
- Capturing numbers
- Performing calculations
- Creating a calculator class
- Understanding and fixing errors
- Getting help
- Goodbye
http://rapidshare.com/files/197518855/L-AS3IFCS4PFD.part1.rar
http://rapidshare.com/files/197519540/L-AS3IFCS4PFD.part2.rar
http://rapidshare.com/files/197520174/L-AS3IFCS4PFD.part3.rar
http://rapidshare.com/files/197520780/L-AS3IFCS4PFD.part4.rar
http://rapidshare.com/files/197521705/L-AS3IFCS4PFD.part4.rar
http://rapidshare.com/files/197522259/L-AS3IFCS4PFD.part5.rar