我想制作一个带flash背景的网页。想把html内容放在上面。它就像没有任何背景颜色或背景图像,我想要我在flash中创建的动画。是否可以将flash作为html背景?
答案 0 :(得分:1)
<div style="position:absolute; z-index:1;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="put width" height="put height">
<param name="movie" value="put your swf file here" />
<param name="quality" value="high" />
<param name="wmode" value="opaque">
<embed src="put your swf file here" quality="high" type="application/x-shockwave-flash" width="put width" height="put width" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
<div style="position:relative; z-index:2">
<!-- Here you can add your html content -->
ABCD
</div>
</div>
答案 1 :(得分:0)
您需要创建一个html object元素并通过它播放Flash文件。