
387
USING FLASH CS4 PROFESSIONAL
Publishing and Exporting
12
To show error messages if tag settings conflict—for example, if a template has code referring to an alternative image
that was not specified—select Show Warning Messages.
13
To save the settings with the current file, click OK.
Parameters and attributes for object and embed tags
The following tag attributes and parameters describe the HTML code that the Publish command creates. Refer to this
list as you write custom HTML to show Flash content. Unless noted, all items apply to both the
object
and
embed
tags. Optional entries are noted. Internet Explorer recognizes parameters used with the
object
tag; Netscape
recognizes the
embed
tag. Attributes are used with both the
object
and
embed
tags. When you customize a template,
you can substitute a template variable (identified in the Value section for each parameter in the following list) for the
value.
Note:
The attributes and parameters listed in this section are shown in lowercase to comply with the XHTML standard.
devicefont attribute/parameter
(Optional) Specifies whether static text objects are rendered in device fonts, even if
the Device Font option is not selected. This attribute applies when the necessary fonts are available from the operating
system.
Value:
true | false
Template variable:
$DE
src attribute
Specifies the name of the SWF file to be loaded. Applies to the
embed
tag only.
Value:
movieName.swf
Template variable:
$MO
movie parameter
Specifies the name of the SWF file to be loaded. Applies to the
object
tag only.
Value:
movieName.swf
Template variable:
$MO
classid attribute
Identifies the ActiveX control for the browser. The value must be entered exactly as shown. Applies
to the
object
tag only.
Value:
clsid:d27cdb6e-ae6d-11cf-96b8-444553540000
width attribute
Specifies the width of the application either in pixels or as a percentage of the browser window.
Value:
n
or
n
%
Template variable:
$WI
height attribute
Specifies the height of the application either in pixels or as a percentage of the browser window.
Note:
Because Flash applications are scalable, quality doesn’t degrade at different sizes if the aspect ratio is maintained.
(For example, the following sizes all have a 4:3 aspect ratio: 640
x 480 pixels, 320
x 240 pixels, and 240
x 180 pixels.)
Value:
n
or
n
%
Template variable:
$HE
codebase attribute
Identifies the location of the Flash Player ActiveX control so that the browser can automatically
download it if it is not already installed. The value must be entered exactly as shown. Applies to the
object
tag only.
Value:
http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0
pluginspage attribute
Identifies the location of the Flash Player plug-in so that the user can download it if it is not
already installed. The value must be entered exactly as shown. Applies to the
embed
tag only.
Updated 5 March 2009