11. Organizing Your Classes

So far, all the classes that you have used have been in the same location as the Flash Professional FLA project. This organization might work for simple projects, but as your projects become more complex, it can start to get confusing when you have potentially dozens of classes in the same place with no way to organize them. In this chapter, you’ll learn how to organize your classes into folders called packages and learn how to include entire packages in your project.

Your Package Has Been Delivered

When you create a Flash Professional FLA project and create a Document class that sits alongside it, you are working with the default package. The package represents the location relative to the project where the Flash ...

Get Fundamentals of ActionScript 3.0: Develop and Design 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.