• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Objects > Creating and Working with Array Objects

Creating and Working with Array Objects

Arrays are a wonderful new feature of ActionScript. An array is a collection of items that are related in some way—not necessarily in their values, but in their purposes.

Each item in an array can be a number, a string, or even an array itself. The items can be accessed and changed individually, without affecting the rest of the array. In addition, items can be removed from the array, two arrays can be merged together, and they can be sorted.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint