03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Constructor summary<br />

Signature Description<br />

Object() Creates an Object object <strong>and</strong> stores a reference to the object's<br />

constructor method in the object's constructor property.<br />

Method summary<br />

Modifiers Signature Description<br />

addProperty (Object.addProperty method)<br />

public addProperty(name:String, getter:Function, setter:Function) : Boolean<br />

520 ActionScript classes<br />

addProperty(name:Str Creates a getter/setter property.<br />

ing,<br />

getter:Function,<br />

setter:Function) :<br />

Boolean<br />

hasOwnProperty(name:<br />

String) : Boolean<br />

isPropertyEnumerable<br />

(name:String) :<br />

Boolean<br />

isPrototypeOf(theCla<br />

ss:Object) : Boolean<br />

static registerClass(name:S<br />

tring,<br />

theClass:Function) :<br />

Boolean<br />

Indicates whether an object has a specified<br />

property defined.<br />

Indicates whether the specified property exists <strong>and</strong><br />

is enumerable.<br />

Indicates whether an instance of the Object class<br />

is in the prototype chain of the object specified as<br />

an argument.<br />

Associates a movie clip symbol with an<br />

ActionScript object class.<br />

toString() : String Converts the specified object to a string <strong>and</strong><br />

returns it.<br />

unwatch(name:String)<br />

: Boolean<br />

Removes a watchpoint that Object.watch()<br />

created.<br />

valueOf() : Object Returns the primitive value of the specified object.<br />

watch(name:String,<br />

callback:Function,<br />

[userData:Object]) :<br />

Boolean<br />

Registers an event h<strong>and</strong>ler to be invoked when a<br />

specified property of an ActionScript object<br />

changes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!