User Guide
550 ActionScript classes
Object
Object
public class Object
The Object class is at the root of the ActionScript class hierarchy. This class contains a small
subset of the features provided by the JavaScript Object class.
Availability: ActionScript 1.0; Flash Lite 2.0 - (became a native object in Flash Player 6,
which improved performance significantly).
Property summary
Constructor summary
Method summary
Modifiers Property Description
constructor:Object Reference to the constructor function for a
given object instance.
__proto__:Object Refers to the prototype property of the class
(ActionScript 2.0) or constructor function
(ActionScript 1.0) used to create the object.
static prototype:Object A reference to the superclass of a class or
function object.
__resolve:Object A reference to a user-defined function that is
invoked if ActionScript code refers to an
undefined property or method.
Signature Description
Object() Creates an Object object and stores a reference to the object's
constructor method in the object's constructor property.
Modifiers Signature Description
addProperty(name:String,
getter:Function, setter:Function)
: Boolean
Creates a getter/setter property.
hasOwnProperty(name:String) :
Boolean
Indicates whether an object has a
specified property defined.
isPropertyEnumerable(name:String)
: Boolean
Indicates whether the specified
property exists and is enumerable.