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
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. ...
Get The ActionScript™ 3.0 Migration Guide: Making the Move from ActionScript 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.