Flash AS3 Tutorials Center | Interesting Flash Animation Tutorials | Valuing Flash Animation Tutorials | Flash ActionScript and Animation Home

AS3 Beginner Tutorials | AS3 Basic Lessons | AS3 Valuing Courses | AS3 Components Tutorials | AS3 and PHP Interaction Tutorials
AS3 Practical Tutorials | AS3 Animation Techniques | AS3 Transition Effects Tutorials | AS3 Download Upload Files | AS3 Particle Systems
Communication Between Flash Movies with AS3 | AS3 and JavaScript interaction | AS3 Matrix Transformation | AS3 Physics Simulation Tutorials

Working with Array Flash ActionScript 3 Tutorials

An array is an object whose properties are identified by a number representing their position in the array. This number is referred to as the index.

All arrays are zero-based, which means that:

- the first element in the array is [0],

- the second element is [1],

- and so on....

In the following example, monthArray contains the months of the year.

monthArray[0] = "January"
monthArray[1] = "February"
monthArray[2] = "March"
monthArray[3] = "April"
monthArray[4] = "May"
monthArray[5] = "June"
monthArray[6] = "july"
monthArray[7] = "August"
monthArray[8] = "September"
monthArray[9] = "October"
monthArray[10] = "November"
monthArray[11] = "December"

 

Remarks:

This Flash ActionScript tutorial provide an introduction to Array.