Specifications

CHAPTER 16
326
bgcolor
String Specifies the background color of the application. Use this property to override the background
color setting specified in the SWF file. This property does not affect the background color of the
HTML page.
Valid formats for bgcolor are any #RRGGBB, hexadecimal, or RGB value.
The Application containers style uses an image as the default background image. This image
obscures any background color settings that you might make in the wrapper. So, to make the value
of the
bgcolor property display properly, you must clear the Application containers
backgroundImage style property. To do this, you can set it to the value of a space character, as the
following example shows:
<mx:Style>
Application {
backgroundImage: " ";
}
</mx:Style>
border
int Specifies the width of the SWF files border, in pixels. The default value for this property depends
on the user agent.
classid
String Defines the classid of Flash Player. This identifies the ActiveX control for the browser. Internet
Explorer 3.0 or later on Windows 9x, Windows 2000, Windows NT, Windows ME, and Windows XP
prompt the user with a dialog box asking if they would like to auto-install
Flash Player if it's not
already installed. This process can occur without the user having to restart the browser.
This property is used for the <object> tag only.
For the <object> tag, you set the value of this property as an attribute of the <object> tag and
not as a
<param> tag.
codebase
String Identifies the location of Flash Player ActiveX control so that the browser can download it if it is not
already installed.
This property is used for the <object> tag only.
You can modify this property by using the settings in Flex Builder.
For the <object> tag, you set the value of this property as an attribute of the tag and not as a child
<param> tag.
Like the pluginspage property, the codebase property is required. However, they are not neces-
sarily used if you use Flash Player Detection Kit to detect and install the required version of Flash
Player. For more information, see
“Using Express Install” on page 333.
Property Type Description