Specifications

266 ActionScript: Work with Objects and Classes
11. Test the Shape.fla file.
You should be able to drag the movie clip.
Summary
Congratulations on learning how to work with objects and classes in
ActionScript 2.0. In a few minutes, you learned how to accomplish the
following tasks:
Create and use objects from existing classes.
Create a custom class.
Create a property within a custom class.
Create a method within a custom class.
Extend an existing class and take advantage of inheritance.
NOTE
An example of the ActionScript file you just created, named Drag.as, is
located in your finished files folder. For the path, see “Set up your
workspace” on page 256.