Media.aspectRatio

Applies to

MediaDisplay, MediaPlayback.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.aspectRatio

Description

Property; a Boolean value that determines whether a MediaDisplay or MediaPlayback instance maintains its video aspect ratio during playback. A true value indicates that the aspect ratio should be maintained; a false value indicates that the aspect ratio can change during playback. The default value is true.

Example

The following example indicates that the aspect ratio can change during playback:

myMedia.aspectRatio = false; 

Flash CS3