Media.autoSize

Applies to

MediaDisplay, MediaPlayback.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.autoSize

Description

Property; a Boolean value that determines the size of the media-viewing portion of the MediaDisplay or MediaPlayback component.

For the MediaDisplay component, the property behaves as follows:

For the MediaPlayback component, the property behaves as follows:

The default value is true.

Example

The following example indicates that the control is not played back according to its media size:

myMedia.autoSize = false;

See also

Media.aspectRatio


Flash CS3