Flash
Work with Objects and ClassesFlash - Work with Objects and Classes
Set up your workspace
Learn about classes and object types
Create an object from a class
Create a custom class
Create two objects from the Product class
Learn about extending existing classes
Extend the MovieClip class to create a new class
Summary
Classes are the blueprint for objects in Macromedia Flash Basic 8 and Macromedia Flash Professional 8. All objects in Flash have an underlying class; for example, all movie clips have a method called getURL(), and getURL() is defined in the class definition for a movie clip. Flash contains many predefined classes, such as the MovieClip class, the Array class, the Color class, and the CheckBox class. This tutorial will show you how to create and modify classes.