Home
Calculator
Algebra
Fun Games
Geometry
Interactive
Trigonometry
Good Links
Home
Calculator
Algebra
Fun Games
Geometry
Interactive
Trigonometry
Good Links

How to Create An Array in Actionscript 2

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