
488
Publishing
Editing Flash HTML settings
You need an HTML document to play a Flash SWF file in a web browser and specify browser
settings. If you are experienced with HTML, you can change or enter HTML parameters in
an HTML editor or create custom HTML files to control a Flash SWF file.
You can also have Flash create the HTML document automatically when you publish a SWF
file (see
“Publishing Flash documents” on page 459
). For information on customizing HTML
templates included in Flash, see
“Customizing HTML publishing templates” on page 482
.
Using object and embed tags
To display a Flash SWF file in a web browser, an HTML document must use the
object
and
embed
tags with the proper parameters.
For
object
, four settings (
height
,
width
,
classid
, and
codebase
) are attributes that appear
within the
object
tag; all others are parameters that appear in separate, named
param
tags, as
shown in the following example:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100"
height="100" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=7,0,0,0">
<param name="movie" value="
moviename
.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
</object>
For the
embed
tag, all settings (such as
height
,
width
,
quality
, and
loop
) are attributes that
appear between the angle brackets of the opening
embed
tag, as shown in the following
example:
<embed src="moviename.swf" width="100" height="100" play="true"
loop="true" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/
index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...