PackageTop Level
Classpublic dynamic class Array
InheritanceArray Inheritance Object



Public Properties
 PropertyDefined By
  length : uint
[write-only]
Array
Public Methods
 MethodDefined By
  
Array(... args)
Array
 Inherited
_init():*
[static]
_init
  
every(callback:Function, thisObject:* = null):Boolean
Array
  
filter(callback:Function, thisObject:* = null):Array
Array
  
forEach(callback:Function, thisObject:* = null):void
Array
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
  
join(sep:*):String
Array
  
map(callback:Function, thisObject:* = null):Array
Array
  
pop():*
Array
 Inherited
AS3
  
push(... args):uint
When the push method is called with zero or more arguments item1, item2, etc., the following steps are taken: 1.
Array
  
Array
  
shift():*
Array
  
some(callback:Function, thisObject:* = null):Boolean
Array
  
sort(... args):*
Array
  
sortOn(names:*, options:* = 0, ... ignored):*
Array
  
splice(... args):*
Array
  
unshift(... args):uint
Array
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
  CASEINSENSITIVE : uint = 1
[static]
Array
  DESCENDING : uint = 2
[static]
Array
 Inheritedlength : int = 1
[static]
length
  NUMERIC : uint = 16
[static]
Array
  RETURNINDEXEDARRAY : uint = 8
[static]
Array
  UNIQUESORT : uint = 4
[static]
Array
Property Detail
lengthproperty
length:uint  [write-only]


Implementation
    public function set length(value:uint):void
Constructor Detail
Array()Constructor
public function Array(... args)



Parameters
... args
Method Detail
every()method
AS3 function every(callback:Function, thisObject:* = null):Boolean

Parameters

callback:Function
 
thisObject:* (default = null)

Returns
Boolean
filter()method 
AS3 function filter(callback:Function, thisObject:* = null):Array

Parameters

callback:Function
 
thisObject:* (default = null)

Returns
Array
forEach()method 
AS3 function forEach(callback:Function, thisObject:* = null):void

Parameters

callback:Function
 
thisObject:* (default = null)

join()method 
AS3 function join(sep:*):String

Parameters

sep:* (default = NaN)

Returns
String
map()method 
AS3 function map(callback:Function, thisObject:* = null):Array

Parameters

callback:Function
 
thisObject:* (default = null)

Returns
Array
pop()method 
AS3 function pop():*

Returns
*
push()method 
AS3 function push(... args):uint

When the push method is called with zero or more arguments item1, item2, etc., the following steps are taken: 1. Call the [[Get]] method of this object with argument "length". 2. Let n be the result of calling ToUint32(Result(1)). 3. Get the next argument in the argument list; if there are no more arguments, go to step 7. 4. Call the [[Put]] method of this object with arguments ToString(n) and Result(3). 5. Increase n by 1. 6. Go to step 3. 7. Call the [[Put]] method of this object with arguments "length" and n. 8. Return n. The length property of the push method is 1. NOTE The push function is intentionally generic; it does not require that its this value be an Array object. Therefore it can be transferred to other kinds of objects for use as a method. Whether the push function can be applied successfully to a host object is implementation-dependent.

Parameters

... args

Returns
uint
reverse()method 
AS3 function reverse():Array

Returns
Array
shift()method 
AS3 function shift():*

Returns
*
some()method 
AS3 function some(callback:Function, thisObject:* = null):Boolean

Parameters

callback:Function
 
thisObject:* (default = null)

Returns
Boolean
sort()method 
AS3 function sort(... args):*

Parameters

... args

Returns
*
sortOn()method 
AS3 function sortOn(names:*, options:* = 0, ... ignored):*

Parameters

names:*
 
options:* (default = 0)
 
... ignored

Returns
*
splice()method 
AS3 function splice(... args):*

Parameters

... args

Returns
*
unshift()method 
AS3 function unshift(... args):uint

Parameters

... args

Returns
uint
Constant Detail
CASEINSENSITIVEConstant
public static const CASEINSENSITIVE:uint = 1

DESCENDINGConstant 
public static const DESCENDING:uint = 2

NUMERICConstant 
public static const NUMERIC:uint = 16

RETURNINDEXEDARRAYConstant 
public static const RETURNINDEXEDARRAY:uint = 8

UNIQUESORTConstant 
public static const UNIQUESORT:uint = 4