User Guide

Media components (Flash Professional only) 515
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 associate a MediaController instance with a MediaDisplay instance by using
Media.associateDisplay(), you do not need to use Media.associateController().
Example
The following code associates myMedia with myController:
myMedia.associateController(myController);
See also
Media.associateDisplay()
Media.associateDisplay()
Applies to
MediaController
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.associateDisplay(instanceName)
Parameters
instanceName
A string that specifies the instance name of the MediaDisplay component
to associate.
Returns
Nothing.