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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Function<br />

Object<br />

|<br />

+-Function<br />

public dynamic class Function<br />

extends Object<br />

Both user-defined <strong>and</strong> built-in functions in ActionScript are represented by Function objects,<br />

which are instances of the Function class.<br />

Property summary<br />

Properties inherited from class Object<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Method summary<br />

Modifiers Signature Description<br />

apply(thisObject:Obj<br />

ect,<br />

[argArray:Array])<br />

call(thisObject:Obje<br />

ct,<br />

[parameter1:Object])<br />

Methods inherited from class Object<br />

apply (Function.apply method)<br />

public apply(thisObject:Object, [argArray:Array])<br />

Specifies the value of thisObject to be used<br />

within any function that ActionScript calls.<br />

Invokes the function represented by a Function<br />

object.<br />

addProperty (Object.addProperty method), hasOwnProperty<br />

(Object.hasOwnProperty method), isPropertyEnumerable<br />

(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf<br />

method), registerClass (Object.registerClass method), toString<br />

(Object.toString method), unwatch (Object.unwatch method), valueOf<br />

(Object.valueOf method), watch (Object.watch method)<br />

Specifies the value of thisObject to be used within any function that ActionScript calls. This<br />

method also specifies the parameters to be passed to any called function. Because apply() is a<br />

method of the Function class, it is also a method of every Function object in ActionScript.<br />

Function 341

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

Saved successfully!

Ooh no, something went wrong!