• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Customizing Objects > DEFINING CUSTOM METHODS FOR PREBUILT OBJECTS

DEFINING CUSTOM METHODS FOR PREBUILT OBJECTS

In the previous exercise you learned how to enhance an existing method of the MovieClip object class. But what do you do if you need a method that hasn’t been invented? You create your own!

As with enhancing methods, there are two ways of creating new methods, depending on whether you’re creating one for a built-in object (Mouse, Key, Math, Selection) or a class of objects (MovieClip, TextField, and so on).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint