Chapter 22. ActionScript: Work with Objects and Classes

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.

You can print this tutorial by downloading a PDF version of it from the Macromedia Flash Documentation page at

In this tutorial, you will complete the following tasks:

Get Macromedia® Flash® 8: A Tutorial Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.