Chapter 12. Working with Data Using Arrays and Objects

If you are creating any kind of logic or data storage and retrieval with ActionScript, you most likely will accomplish this using arrays. Arrays are the most common and basic data structure, other than variables, in any programming language. Arrays are one of the first data structures most programmers learn. Using arrays, you can store a series of one or more values in a list-like data structure.

Basic objects of the Object class are another type of data structure. A custom object can be created, and properties for the object can be created and set to store custom values for different pieces of information for an item. Using arrays and objects together to create associative arrays makes the ...

Get ActionScript 3.0: Visual QuickStart Guide 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.