User Guide

516 Chapter 6: Components Dictionary
Description
Method; associates a MediaController instance with a MediaDisplay instance.
If you associate a MediaDisplay instance with a MediaController instance by using
Media.associateController(), you do not need to use Media.associateDisplay().
Example
The following code associates myMedia with myDisplay:
myMedia.associateDisplay(myDisplay);
See also
Media.associateController()
Media.autoPlay
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.autoPlay
Description
Property; a Boolean value that determines whether the MediaPlayback or MediaDisplay instance
should immediately start attempting to buffer and play. A
true value indicates that the control
buffers and plays at runtime; a
false value indicates the control is stopped at runtime. This
property depends on the
contentPath and mediaType properties. If contentPath and
mediaType are not set, no playback occurs at runtime. The default value is true.
Example
The following example indicates that the control is not started when first loaded:
myMedia.autoPlay = false;
See also
Media.contentPath
, Media.mediaType