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 Lite 2.0

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])

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

 

call(thisObject:Object, [parameter1: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)