![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 991](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_687537991.webp)
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.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...