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

Chapter 6. Customizing Objects > CREATING CUSTOM METHODS FOR CUSTOM CLASSES

CREATING CUSTOM METHODS FOR CUSTOM CLASSES

While the objects we’ve created thus far contain property values that can be evaluated and used in various ways, they cannot perform tasks. To understand what this means, let’s take a look at some of the things that Flash’s built-in objects can do:

  • Movie clip instances can play() , stop() , loadMovie() , getURL() , and so forth.

  • Sound object instances can loadSound() , setVolume() , setPan() , and so forth.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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