Flash CS4/5 ActionScript 3 (3 days)
Description
FlashCS4/5 ActionScript 3 provides experienced Flash designers with the knowledge and hands-on practice they need to create dynamically generated event-driven animation and interactive content with Flash. The course teaches fundamental ActionScript programming techniques. The course covers core concepts including instance names, variables, functions, properties, methods, and events, as well as Classes; also discussed are conditions, loops, event handling, XML objects, working with the new Display List and animating with ActionScript.
Audience
To take this course, you should have:
- Completed the Flash CS4/5 Foundations course, or have equivalent experience.
- The desire to learn how to program Flash content using ActionScript.
Course Outline
- Getting Started
Introducing ActionScript 3.0
Why You Should Learn ActionScript 3.0
What’s New in ActionScript 3.0?
Differences Between ActionScript 1.0/2.0 and 3.0
ActionScript 3.0 Elements
Moving Beyond Script Assist
Caution: Player Required!
Beyond ActionScript 3.0 - Communicating with ActionScript
Communicating to Movie Clips
Modifying Movie Clip Properties
Understanding Variables
Setting Variable Data Types
Using Trace Statements
Using Comments - Using and Writing Functions
Understanding Functions
Using Methods
Writing Custom Functions
Understanding Modular Functions
Making a Function Modular
Making a Function Return a Value - Responding to Events
Understanding Event Types
Using a Listener to Catch an Event
Writing Event Handlers
Responding to Mouse Events
Responding to Keyboard Events
Creating a Link to a Web Site
Using the Enter Frame Event to Create Animation
Using the Timer Event to Control Animation - Understanding Classes
Understanding Classes
Writing a Custom Class
Extending an Existing Class
Adding a Class Object to the Timeline
Defining a Document Class
Setting Up a Classpath - Decision Making and Repetition
Understanding Conditional Statements
Writing a Conditional Statement
Using Conditional Operators
Setting Up Alternate Conditions
Writing Compound Conditions
Understanding Loops
Creating a Code Loop
Using a Loop to Generate Instances of a Class
Placing Instances Created by a Loop - Using Math—and Loving It!
Understanding the Math Class
Using Basic Math Operators
Generating Random Numbers
Rounding Numbers - Using Text and Arrays
Creating a Text Field
Styling a Text Field
Capturing Data from a Text Field
Loading External Text
Understanding Arrays
Using Text and Arrays to Create a Game
Finishing the Text Game - Creating a Memory Game
Storyboarding Your Application
Writing a Memory Card Class
Writing a Memory Game Class
Adding Graphics to Cards
Placing Cards
Detecting Matches
Resetting Cards
Handling Incorrect Matches
Determining a Win
Adding More Cards - Using Advanced Graphics and Animation Tools
Drawing with Code
Creating a Color Change
Generating a Random Color Change
Animating a Color Change
Using Filters
Modifying Filter Properties
Animating Filters - Working with Multimedia
Loading External Images and SWFs
Communicating with Loaded Movies
Loading Sounds
Starting and Stopping Sound
Managing the Volume of Sound
Loading Video
Controlling Video Playback - Adding Advanced Interactivity Creating a Drag-and-Drop Class
Detecting Collisions
Responding to Collisions
Detecting a Win
Randomly Placing Objects