Media.associateController()

Applies to

MediaDisplay.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.associateController(instanceName)

Parameters

instanceName A string that specifies the instance name of the MediaController component to associate.

Returns

Nothing.

Description

Method; associates a MediaDisplay instance with a MediaController instance.

If you use Media.associateDisplay() to associate a MediaController instance with a MediaDisplay instance, you do not need to use Media.associateController().

Example

The following code associates myMedia with myController:

myMedia.associateController(myController);

See also

Media.associateDisplay()


Flash CS3