Accessibility
 
Home > Products > Flash > Support > Using ActionScript
Flash Icon Macromedia Flash Support Center - Using ActionScript
Using the Color object: Dynamically changing the color of movie clips in Flash 5

This movie was created in Macromedia Flash 5 using the ActionScript Color object. Click the buttons to change the color of the shirt.


To view this demo, you need the latest version of the Macromedia Flash Player.
Download the free Macromedia Flash Player now.

Get Macromedia Flash Player


In this tutorial, you'll examine how this movie was put together and learn how to use the Color object to dynamically change the color of a movie clip. This tutorial is intended for users who have mastered the basics of Flash but have little or no experience with ActionScript.

Download the Windows source file colorobject_tutorial.zip (16K)
Download the Macintosh source file colorobject_tutorial.sea.hqx (20K)

When the file decompresses, a folder named colorobject_tutorial is created on your system.

About the ActionScript Color object
Examine the completed project
Examine the actions
Apply tints to the color buttons
Assign an instance name to the Shirt movie clip
Create an instance of the Color object
Assign actions to the first color button
Assign actions to the second and third color buttons
Going forward


George Brown

George Brown is a writer for Macromedia's Web Publishing Support Centers. Before focusing on technical writing, he designed books, taught software classes, and developed web sites.


21 May 2001

Flash, Color object, ActionScript, tutorial, movie clip, color, actions

9900