Monday, 16 June 2014

Inheritance in ActionScript

Not a big deal, though, I wouldn't wanna skip this. Inheritance is a concept of extending the properties and methods of one class to another using the keyword extend. Again, it is as how java works. The child class can have its own methods and properties and can use the properties and methods of the parent as well, provided the members of the parent class (properties and methods) are declared non-private. Just on a lighter note; it is possible to override the behaviors of a parent class within the child.

Atleast, that is what I know! Since most of the classes that we are gonna use will follow inheritance, I am not gonna spend much time explaining this. However, if you wish to know more about inheritance, grandfather's (GOOGLE) always thr!! ;-)