Specifications

CHAPTER 16
328
hspace
int Specifies the amount of white space inserted to the left and right of the SWF file. The default value
is typically not specified, but is generally a small, nonzero length.
id
String Identifies the SWF file to the host environment (a web browser, for example) so that it can be refer-
enced by using a scripting language such as VBScript or JavaScript.
The id property is only used with the <object> tag. It is equivalent to the name property used
with the
<embed> tag.
lang
String Specifies the base language of an element’s property values and text content.
The default value is typically unknown. The browser can use language information specified using
the
lang property to control rendering in a variety of ways.
menu
Boolean Changes the appearance of the menu that appears when users right-click over a Flex application
in
Flash Player. Set to true to display the entire menu. Set to false to display only the About and
Settings options on the menu.
The default value is typically true.
movie
String Specifies the location of the SWF file.
The movie property is only used with the <embed> tag. It is equivalent to the src property used
with the
<object> tag.
name
String Identifies the SWF file to the host environment (a web browser, typically) so that it can be refer-
enced by using a scripting language.
The name property is only used with the <embed> tag. It is equivalent to the id property used with
the
<object> tag.
pluginspage
String Identifies the location of Flash Player plug-in so that the user can download it if it is not already
installed.
This property is used for the <embed> tag only.
You can modify this property by using the settings in Flex Builder.
Like the codebase property, the pluginspage property is required. However, these properties
are not necessarily 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