M > MovieClip.onData |  |

MovieClip.onData

movieclip, movieclip.onData, onData

Availability

Flash Player 6.

Usage

    myMovieClip.onData

Parameters

None.

Returns

Nothing.

Description

Event handler; invoked when a movie clip receives data from a `loadVariables` or `loadMovie` call.

You must define a function that executes when the event is invoked.

Example

The following example defines a function for the `onData` method that sends a `trace` action to the Output window.

    myMovieClip.onData = function () {
    	trace ("onData called");
    };