
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
452
|
Appendix A: ActionScript 2.0 Language Quick Reference
Instance properties
Elements are accessed as follows but not type checked:
arguments[
index]
Array Class
The Array class provides support for ordered lists of data.
Constructor
Class properties
The following class properties are supported for arrays in Flash Player 7 and later:
Instance properties
length:Number
Instance methods
callee:Function
a
a
Incorrectly listed as an instance method in 7.0.0 and 7.0.1
caller:Function
a
Array( )*
Array(
len:Object)*
Array(
elem0:Object, elem1:Object, elem2:Object,...elemn:Object)*
CASEINSENSITIVE:Number
DESCENDING:Number
NUMERIC:Number
RETURNINDEXEDARRAY:Number
UNIQUESORT:Number
concat(
value:Object):Array
join(
delimiter:String):String
pop( ):Object
push(
value:Object):Number
a
a
Datatype for value not listed in 7.0.0 and 7.0.1
reverse( ):Void
shift( ):Object
slice(
startIndex:Number, endIndex:Number):Array
sort(
compare:Object, options:Number):Array
b
b
Datatype for compare not listed in 7.0.0 and 7.0.1
sortOn(key:Object, options:Number):Array
c
c
Datatype for key not listed in 7.0.0 and 7.0.1
splice(startIndex:Number, deleteCount:Number, value:Object):Array
toString( ):String
d
d
This method overrides the default Object.toString( ).
unshift(value:Object):Number