Media.autosize - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

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:
If you set this property to
the size of the component. This implies that, unless the MediaDisplay instance size is the
same as the size of the media, the media either spills out of the instance boundaries or does
not fill the instance.
If you set this property to
honoring the aspect ratio. If both
, the exact size of the component is used.
false
For the MediaPlayback component, the property behaves as follows:
If you set this property to
media playback area is smaller than the preferred size. If this is the case, Flash shrinks the
media to fit inside the instance and respect the aspect ratio. If the preferred size is smaller
than the media area of the instance, part of the media area goes unused.
If you set this property to
honoring the aspect ratio. If both
, the media area of the component is filled. This area is defined as the area above the
false
controls (in the default layout), minus a surrounding 8-pixel margin that makes up the
edges of the component.
The default value is
true
856
Media components (Flash Professional only)
, Flash displays the media at its preferred size, regardless of
true
, Flash uses the instance size as much as possible, while
false
Media.autoSize
, Flash displays the media at its preferred size unless the
true
, Flash uses the instance size as much as possible, while
false
Media.autoSize
.
and
Media.aspectRatio
and
Media.aspectRatio
are set to
are set to

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents