Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Media components > Media.associateController() | |||
MediaDisplay.
Flash Player 7.
Flash MX Professional 2004.
myMedia.associateController(instanceName)
instanceName A string that specifies the instance name of the MediaController component to associate.
Nothing.
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().
The following code associates myMedia with myController:
myMedia.associateController(myController);
Flash CS3