Flash CS3 Level two - Introduction to ActionScript
Delegates will learn to produce an engaging interface using text, graphics, animations, video, and sound with this two-day course.
Macromedia Flash CS3: Rich content creation is an introductory course that provides designers and developers new to the Flash environment the knowledge and hands-on practice they need to create rich Flash content.
Delegates will produce an engaging interface using text, graphics, animations, video, and sound. Simple user interactions are added using built in ActionScript behaviours and Script Assist.
In addition to teaching essentials, the course focuses on teaching best practices for creating Flash content.
This course is for Flash designers who have some experience with Flash design and would like to learn basic and intermediate ActionScript. To gain the most from this class you should already have attended the Flash CS3: Rich content creation course.
Course outline
•Understanding the course format •Reviewing the course objectives and prerequisites •Looking at the course outline
Controlling visual objects with Adobe Flash ActionScript •Using the Actions and Help panels •Declaring variables and their data types •Using the trace() function •Using code hinting •Assigning instance names and using them to assign runtime property values •Using the with operator •Introducing core properties of visual built-in classes: Movie Clip, Button, and Text Field •Controlling Button and Movie Clip position and visual state •Controlling Text Field content •Introducing core properties of non-visual built-in classes: Math •Using mathematical operators •Understanding data type conversion
Using and Writing Functions •Working with Adobe Flash Player global functions •Converting values returned from functions and assigning them for display •Writing user defined functions •Returning, or not returning, data from a function •Understanding variable scope •Adding code within a Movie Clip symbol's own timeline •Introducing the this operator •Understanding object methods •Introducing core methods of visual built-in classes: Movie Clip and Text Field •Controlling the Movie Clip play head within its timeline •Loading external Movie Clip content •Understanding cross-domain security issues •Exporting and attaching Movie Clip symbol instances at runtime •Writing and using user defined functions to create visual content •Understanding depth •Dynamically referring to instance names and property names at runtime
Using Text, Dates, Math, and Paths •Controlling Text Field formatting through code •Creating and formatting Text Fields at runtime •Using Date objects •Working with String concatenation •Generating random numbers and integers using the Math class •Understanding relative path names •Controlling nested Movie Clip objects
Understanding and handling events •Understanding event driven programming •Working with event handler syntax •Moving from symbol-based to timeline-based event handling •Introducing core events of visual built-in classes: Button, Movie Clip, and Text Field •Controlling the play head within an event handler •Understanding the this keyword inside an event handler •Creating rollover effects •Responding to Text Field focus events •Calling a single function from multiple event handlers •Referring to a parent object from within an event handler
Managing colour, sound, and data with built-in classes •Understanding complex (aggregate) variables •Working with Arrays •Working with generic Objects •Transforming Movie Clip objects using Transform and Colour Transform objects •Generating random colour transformations •Using Sound objects •Creating audio feedback with event-driven sounds linked from the Library
Making decisions and repeating yourself •Understanding looped code •Using loops and arrays to attach, name, and control Movie Clip objects •Using loops to create, name, and control Text Fields to display data object values •Understanding conditional code execution •Surveying the comparison and logical operators •Using if/else comparison to toggle Movie Clip visual states
Animating with Adobe Flash ActionScript •Dragging and dropping a Movie Clip object •Testing for collision between Movie Clip objects •Initializing attached Movie Clip objects •Using the on Enter Frame event handler •Controlling visual change rate •Testing and responding to position at runtime
Venue
Date: 07 July 2008 to 09 July 2008 Location: Johannesburg