第一种方法
css 代码:

复制代码代码如下:
.b970-a{width:970px; height:103px; margin:4px auto; overflow:hidden;}
html 代码:
<div class="b970-a"> <
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="970" height="107">
<param name="movie" value="images/flash_ad-3-26.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="/UploadFiles/2021-03-30/flash_ad-3-26.swf"></object>
</div>

第二种方法 兼容性好
css 代码:

复制代码代码如下:
.b970-a{width:970px; height:103px; margin:5px auto; z-index:2; overflow:hidden;}
html 代码:
<object width="970" height="103"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="images/flash_ad-3-26.swf" name="movie">
<param value="high" name="quality">
<param value="transparent" name="wmode">
<param value="exactfit" name="SCALE">
<embed width="970" height="103" wmode="transparent" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
quality="high" src="/UploadFiles/2021-03-30/flash_ad-3-26.swf"></object>
标签:
HTML,Flash

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
岱庙资源网 Copyright www.zgmyg.com

评论“如何在HTML中加载Flash(2种实现方法)”

暂无“如何在HTML中加载Flash(2种实现方法)”评论...