Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Media components > Media.aspectRatio | |||
MediaDisplay, MediaPlayback.
Flash Player 7.
Flash MX Professional 2004.
myMedia.aspectRatio
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.
The following example indicates that the aspect ratio can change during playback:
myMedia.aspectRatio = false;
Flash CS3