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


Flash CS3