ssScript.addCallHandler

Specify a function that will handle calls from a script module.


Availability:

First available in version 3.5 build 314.

Available only in ActionScript 3.


Input Parameters:

module - String - The name of the script module that will call the handler function.

handler - String | Function - The function name or reference that will be called by the script module.

scope - Object - [Optional] - The scope for the handler function. If the handler parameter is specified as a string, this parameter is required.


Output Parameters:

No output parameters.


Notes:

None.


Examples:

See the ssScript Overview for a more detailed example.

ssScript.addCallHandler({module:"myModule", handler:myModuleCallHandler});