Chapter 3. Packages and Classes
PACKAGES AND CLASSES are fundamental to object-oriented languages, and this chapter is all about learning how to create packages, reap the benefits of class attributes, and learn new ways to assign classes. You’ll also discover the differences between the ways ActionScript 2 and ActionScript 3 handle a multitude of object-oriented concepts. And you’ll attempt to do it all without a headache!
Packages are standard in object-oriented programming languages. A package acts as a sort of code filing system, where the package is a folder and the classes are the documents within. On your computer, a package is used to group similar classes. Packages organize your code into groups based on similarity and/or functionality. ...