HTML and CSS Reference
In-Depth Information
<param name=”quality” value=”high” />
<param name=”bgcolor” value=”#ffffff” />
<embed src=”Traced Bird FMA.swf” quality=”high” bgcolor=”#ffffff” width=”1000”
height=”260” name=”Traced Bird FMA” align=”middle” allowScriptAccess=”sameDomain”
allowFullScreen=”false” type=”application/x-shockwave-flash”
pluginspage=”
http://www.adobe.com/go/getflashplayer” /
>
</object>
The
classid
and
codebase
attributes are required for the Internet Explorer ActiveX plug-in
and must be included verbatim — with one exception. Note the version number at the end of the
codebase
attribute. This is the minimum version of the Flash Player required to play the content.
As of this writing, the most current version is 10.1 — which would be described in the
codebase
attribute as
10,1,0,0
. (For whatever reason, the
codebase
attribute uses commas rather than
periods to separate version numbers.) In the
<embed>
tag, the
type
and
pluginspage
attributes
are unique to Flash Player content.
Designed properly, SWF animations blend seamlessly into the web page as shown in Figure 23-4.
The Traced Bird Skateboard Wheels logo — complete with spinning multi-colored wheels — is an
SWF file inset with the preceding code example.
FiGure 23-4