O'Reilly logo

Fundamentals of ActionScript 3.0: Develop and Design by Doug Winnie

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

15. Creating Groups of Objects and Repeating Actions Using Loops

In all the examples so far, you have been working with individual instances of objects. As you work with more complex projects that have multiple instances of objects, it can quickly become unworkable without some way to access properties or values with each instance in a logical group. For example, if you have a project with a couple instances of a Library object, it is pretty manageable. But what about when you have a dozen? A hundred? Or even a thousand? There needs to be some way to organize these into groups to make it easier for you as a coder to work with them.

In this chapter, you’ll get an introduction to grouping objects into named sets called arrays. In addition, you’ll ...

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