M > method |  |

method

method

Availability

Flash Player 6.

Usage

    object.method = function ([parameters]) {
    	...body of function...
    };

Parameters

`object` An identifier for an object.

`method` An identifier for a method.

`parameters` Parameters to pass to the function. An optional parameter.

Returns

Nothing.

Description

Action (normal mode only); allows you to define methods for objects using the Actions panel in normal mode. For more information about defining methods for objects, see the Writing Scripts with ActionScript chapter of Using Flash.