ActionScript 3.0 for Adobe Flash CS4 Class 1
| Duration: | 1 day |
| Prerequisite: | You should have a basic knowledge of the Flash CS4 interface and animation features. |
| Course Materials: | Course manual with CD containing exercises |
| Prices: | $260 each for 1 student (one-on-one training) $230 each for 2 to 3 students $200 each for 4 to 6 students $200 for the first 6 students, $125 for each additional student |
| Description: | To really become an expert with Flash, you need to learn ActionScript, Flash's built-in scripting language. ActionScript will enable you to have more control with timelines and animation, write event-handling functions, and control loading of and interaction with data, text, video, sound, and images. This is the first day of a 2-day ActionScript class. You can choose to take both days of training or to take just the first class and then continue on your own. |
Navigating the Flash Timeline
- Placing code on the Flash timeline
- Working with labels
- Looping playback with ActionScript
- Keeping track of the number of loops
- Creating a count variable
- Updating the count variable
- Displaying the count in a text field
- Using a conditional statement to control the timeline
- Updating the text on the home frame
Working with Events and Functions
- Creating event listeners and event handling functions
- Creating navigation with a button click
- Creating button instances for controlling navigation
- Adding functions to respond to button clicks
- Adding a restart button
- Adding to the dynamic text field
- Adding buttons to control language
Creating Animation with ActionScript
- Controlling MovieClip properties with ActionScript
- Changing a property value
- Increasing or decreasing a property’s value
- Using an ENTER_FRAME event to animate a MovieClip property
- Creating a variable to store a MovieClip reference
- Changing MovieClip properties with buttons
- Creating animation using ActionScript tweens
- Importing the Tween and easing classes
- Adding ActionScript tweens
Creating ActionScript in External Files
- Creating an ActionScript file
- Creating a basic ActionScript file in Flash
- Basic structure of an ActionScript 3.0 class file
- Creating instances of a class file in Flash
- Overriding the parameters of each Ellipse instance
- Turning the makeShapes() function on and off
- Randomizing the color of the ellipses
Using ActionScript and Components to Load Content
- Creating an instance of the List component and setting its parameters
- Adding an instance of the UILoader component
- Adding a CHANGE event listener to the List component
- Loading SWF files into a UILoader component
- Creating the gallery file
- Examining the gallery.fla file
- Adding event listeners to the thumbnails
- Loading text from an external file
- Adding a scroll bar to the text field
