EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Page 245

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Array 245
Availability: ActionScript 1.0; Flash Player 5 - Became a native object in Flash Player 6,
which improved performance significantly.
Example
In the following example, my_array contains four months of the year:
var my_array:Array = new Array();
my_array[0] = "January";
my_array[1] = "February";
my_array[2] = "March";
my_array[3] = "April";
Property summary
Properties inherited from class Object
Constructor summary
Modifiers Property Description
static CASEINSENSITIVE:Numb
er
In the sorting methods, this constant specifies case-
insensitive sorting.
static DESCENDING:Number In the sorting methods, this constant specifies
descending sort order.
length:Number A non-negative integer specifying the number of
elements in the array.
static NUMERIC:Number In the sorting methods, this constant specifies
numeric (instead of character-string) sorting.
static RETURNINDEXEDARRAY:N
umber
Specifies that a sort returns an indexed array as a
result of calling the sort() or sortOn() method.
static UNIQUESORT:Number In the sorting methods, this constant specifies the
unique sorting requirement.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Signature Description
Array([value:Object]
)
Lets you create an array.

Table of Contents

Related product manuals