在网页中插入Flash时,要同时兼容多种浏览器,需要将这两种标记一起使用,但使用的顺序是,<object>中嵌套<embed>标记。
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="778"
height="202">
<param name="movie"value="images/banner.swf">
<param name="quality"value="high">
<param name="wmode"value="transparent">
<embed
src="images/banner.swf"
width="778"
height="202"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
wmode="transparent">
</embed>
</object>