Accessing Array Data
Flash CS4 ActionScript 3.0 Tutorial
How To Organize Retrieve Data from Array Variable with Flash ActionScript
Arrays are used to organize large amounts of data. Arrays can be described as multi-dimensional variables that can hold several values. Once you have loaded your Array, you may want to retrieve specific values
Let's say you created an Array variable that stored three secret passwords, red, green and blue.
You placed red in slot , green in slot  and blue in slot . In this exercise we will load the Array as described above, then recall the password in slot .
Open a new Flash document and name the default layer Actions.
Option double-click (PC - Alt double-click) frame one of the Actions layer.
Copy/Paste the following code to the ActionScript panel.
var passWord:Array = new Array("Red", "Green", "Blue");
Publish your movie by pressing Cmd/Return (PC - Ctrl/Enter). The value of the second password appears in the Output panel.