Specifications

331ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
The <object> and <embed> tags can also take additional properties that are not supported by Flex applications.
These unsupported properties are listed in “Unsupported properties” on page 331.
Unsupported properties
Some optional Flash Player properties do not apply to Flex applications. These are properties that involve movie
frames and looping. The following properties have no effect when used with Flex:
loop
play
swliveconnect
width
int Defines the width, in pixels, of the SWF file. Flash Player makes a best guess to determine the width
of the application if none is provided.
Browsers scale an object or image to match the height and width specified by the author.
You can set this value to a fixed number or a percentage value. For example, “width=100” or
“width=”50%”.
Lengths expressed as percentages are based on the horizontal or vertical space currently available,
not on the natural size of the SWF file.
You can also set the width of a Flex application by setting the width property of the
<mx:Application> tag in an MXML file.
For the <object> tag, you set the value of this property as an attribute of the <object> tag and
not as a
<param> tag.
wmode
String Sets the Window Mode property of the SWF file for transparency, layering, and positioning in the
browser. Valid values of
wmode are window, opaque, and transparent.
Set to window to play the SWF in its own rectangular window on a web page.
Set to opaque to hide everything on the page behind it.
Set to transparent so that the background of the HTML page shows through all transparent
portions of the SWF file. This can slow animation performance.
To make sections of your SWF file transparent, you must set the alpha property to 0. To make your
application’s background transparent, set the
backgroundAlpha property on the
<mx:Application> tag to 0.
The wmode property is not supported in all browsers and platforms.
Property Type Description