Function


Object
    |
    +-Function

public dynamic class Function
extends Object

Both user-defined and built-in functions in ActionScript are represented by Function objects, which are instances of the Function class.

Availability: ActionScript 1.0; Flash Player 6

Property summary

Properties inherited from class Object

constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property)


Method summary

Modifiers

Signature

Description

 

apply(thisObject:Object, [argArray:Array]) : Void

Specifies the value of thisObject to be used within any function that ActionScript calls.

 

call(thisObject:Object, [parameter1:Object]) : Object

Invokes the function represented by a Function object.

Methods inherited from class Object

addProperty (Object.addProperty method), hasOwnProperty (Object.hasOwnProperty method), isPropertyEnumerable (Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf method), registerClass (Object.registerClass method), toString (Object.toString method), unwatch (Object.unwatch method), valueOf (Object.valueOf method), watch (Object.watch method)



Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00001688.html