User Guide

Object 991
Constructor summary
Method summary
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:Str
ing,
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.
isPrototypeOf(theCla
ss:Object) : Boolean
Indicates whether an instance of the Object class is in
the prototype chain of the object specified as an
argument.
static registerClass(name:S
tring,
theClass:Function) :
Boolean
Associates a movie clip symbol with an ActionScript
object class.
toString() : String Converts the specified object to a string and returns it.
unwatch(name:String)
: Boolean
Removes a watchpoint that Object.watch() created.
valueOf() : Object Returns the primitive value of the specified object.
watch(name:String,
callback:Function,
[userData:Object]) :
Boolean
Registers an event handler to be invoked when a
specified property of an ActionScript object changes.