Flash Design
I imagine some readers might have no idea what a class or the term “object oriented” means, while others have been using classes in ActionScript (or other languages) for years. So as to not lose anyone, I’m going to try to cover all the basics. AS 2 OOP experts might want to at least skim this section, too, as there are quite a few changes in the way things work in AS 3. If you think you do not have any familiarity with classes, you may be wrong. If you’ve written any code in Flash, chances are you used several classes. A class simply refers to a type of object. MovieClip is a class referring to—you guessed it—movie clips. Text fields, movie clips, buttons, strings, and numbers all have classes.