
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
1016
|
Appendix H: Embedding a Flash Movie in a Web Page
See Table H-1 and “Common Attributes of the <OBJECT> and <EMBED> Tags”
for more information.
Common Attributes of the <OBJECT>
and <EMBED> Tags
The following list of attributes applies to the both <OBJECT> and <EMBED> tags. See
Example H-1 for sample usage.
ALIGN
Positions the movie in the browser window. When omitted, defaults to center,
but there is no explicit “CENTER” option. Possible values are:
"" (no value,
indicating centered), "LEFT", "RIGHT", "TOP", and "BOTTOM".
BASE
The URL to use as the base of all relative URLs used in the movie (e.g., URLs
used by getURL(), loadMovie(), XML.send(), etc.).
BGCOLOR
The background color of the movie, in RGB hexadecimal triplet notation—
#RRGGBB, where RR, GG, and BB are two-digit hex numbers representing Red,
Green, and Blue. Overrides any author-time setting made via Modify
➝ Docu-
ment.
HEIGHT
Height of the movie, either in pixels or as a percentage of the HTML page height
in the browser.
LOOP
Causes the Flash animation to loop continuously (if
true, the default) or stop (if
false) when the playhead reaches the end of the movie.
MENU
Indicates whether the Flash Player’s contextual menu contains a full list of items
(
true) or a minimal list of items (false). It defaults to true but is often set