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

Chapter 3. Getting a Handle on ActionScript > About Methods and Properties

About Methods and Properties

Each object of a class (Zeke of the humans, for example) differs from the others in its class by more than just its name. Each person is different because of several defining characteristics, such as height, weight, gender, and hair color. In object- oriented scripting, we say that objects and classes have properties. Height, weight, sex, and hair color are all properties of the human class (Figure 3.3).

Figure 3.3. Adam, Betty, and Zeke are human objects with different properties. Properties differentiate objects of the same class.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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