
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
1014
|
Appendix H: Embedding a Flash Movie in a Web Page
In the Flash authoring tool, you can use the File ➝ Publish command to generate
<EMBED> and <OBJECT> tags automatically. For instructions, see Help ➝ Using Flash ➝
Publishing ➝ Publishing Flash documents.
For more information on the
<EMBED> and <OBJECT> tags, see Help ➝ Using Flash ➝
Publishing ➝ Editing Flash HTML settings. See also the following technotes:
http://www.macromedia.com/support/flash/ts/documents/tn4150.html
http://www.macromedia.com/support/flash/ts/documents/tag_attributes.htm
Despite the assistance offered by the Flash authoring tool, this appendix is for devel-
opers who prefer to hand-code their HTML. This appendix also covers the attributes
not supported via the authoring tool.
Table H-1 lists the minimum recommended attributes of the
<EMBED> and <OBJECT>
tags, some of which are strictly required. Following the table are detailed descrip-
tions of these and other attributes.
Attributes of the <OBJECT> Tag
To use attributes other than CLASSID, CODEBASE, WIDTH, HEIGHT, ID, and ALIGN with the
<OBJECT> tag, construct a <PARAM> tag of the following format:
<PARAM NAME=ATTR_NAME VALUE=VAL>
where ATTR_NAME is the name of the attribute and VAL is the attribute value (as shown
in Example H-1).
The following list of attributes ...