Description
Method; associates a MediaController instance with a MediaDisplay instance.
If you associate a MediaDisplay instance with a MediaController instance by using
Media.associateController()
Example
The following code associates
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
buffers and plays at runtime; a
property depends on the
are not set, no playback occurs at runtime. The default value is
mediaType
Example
The following example indicates that the control is not started when first loaded:
myMedia.autoPlay = false;
See also
Media.contentPath
516
Chapter 6: Components Dictionary
, you do not need to use
with
myMedia
value indicates the control is stopped at runtime. This
false
and
contentPath
,
Media.mediaType
Media.associateDisplay()
:
myDisplay
value indicates that the control
true
properties. If
mediaType
.
and
contentPath
.
true
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers