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