What is an Array?
Array is used to hold collection of data or list of values of same datatype.
Array has many buitin functions to manipulate the values it holds.
An array data can be accessed at anytime using array index.
Creating an Array
To create an array, declare a variable of type Array and declare the new Array object.
Learn ActionScript Basics tutorial
var arrObject:Array = new Array();
There is another way of of creating an array using square brackets that called array literal.
var arrObject:Array = [];
Read More..
0 comments:
Post a Comment