O'Reilly logo

The ActionScript™ 3.0 Migration Guide: Making the Move from ActionScript 2.0 by Kris Hadlock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required