246
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:Stri
ng]) : 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:Nu
mber],
[endIndex:Number]) :
Array
Returns a new array that consists of a range of
elements from the original array, without modifying
the original array.
sort
([compareFunctio
n:Object],
[options:Number]) :
Array
Sorts the elements in an array.
sortOn
(fieldName:Obj
ect,
[options:Object]) :
Array
Sorts the elements in an array according to one or
more fields in the array.
splice
(startIndex:Nu
mber,
[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.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...