我知道Flash Player是最终在html页面上呈现的实际浏览器插件,但我希望有办法以某种方式将flash播放器发送到背景或将div放在flash上。
在此示例代码中,我希望“divPanel”显示在“flashHeader”上。
<object id="flashHeader" style="position: relative; top: 0px; left: 0px; z-index:3;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="820" height="255" id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="my.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src="my.swf"
quality="high" bgcolor="#ffffff" width="820" height="255" name="Untitled-1" align="middle"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<div id="divPanel" style="width: 100px; height: 100px; background-color: red; position: relative;
top: -50; z-index:4;">
</div>