User Guide

250 ActionScript classes
Method summary
Modifiers Signature Description
concat([value:Object]) : Array Concatenates the elements
specified in the parameters with the
elements in an array and creates a
new array.
join([delimiter:String]) : String Converts the elements in an array to
strings, inserts the specified
separator between the elements,
concatenates them, and returns the
resulting string.
pop() : Object Removes the last element from an
array and returns the value of that
element.
push(value:Object) : Number Adds one or more elements to the
end of an array and returns the new
length of the array.
reverse() : Void Reverses the array in place.
shift() : Object Removes the first element from an
array and returns that element.
slice([startIndex:Number],
[endIndex:Number]) : Array
Returns a new array that consists of
a range of elements from the
original array, without modifying the
original array.
sort([compareFunction:Object],
[options:Number]) : Array
Sorts the elements in an array.
sortOn(fieldName:Object,
[options:Object]) : Array
Sorts the elements in an array
according to one or more fields in
the array.
splice(startIndex:Number,
[deleteCount:Number],
[value:Object]) : Array
Adds elements to and removes
elements from an array.
toString() : String Returns a string value representing
the elements in the specified Array
object.
unshift(value:Object) : Number Adds one or more elements to the
beginning of an array and returns
the new length of the array.