|
|
|
|
How to Create An Array in Actionscript 2How to declare and initialize an array
The code belwo will create an array with four items. However, if you run the example below you will find that myFirstArray[4] traces outundefined. This is becuase the indices are zero based and a four item array has a final index of 3.
Top |