Welcome to bytea
当前位置: Home Blog风格 网站制作 让flash在IE及Firefox中透明 今天是...date...

登录bbs

用户名
密码

bytea统计

Members : 43193
Content : 343
Web Links : 69
让flash在IE及Firefox中透明 PDF Print E-mail
Monday, 28 March 2005 19:13

在ie中实现flash背景透明很简单,加这样一个值

<param name="wmode" value="transparent">

在Mozilla,Firefox浏览器中起作用的是这个标签 <embed></embed> 那这样,在<embed>标签内加入属性 wmode="transparent" 就可以实现flash背景透明,如

<embed src="your.swf" wmode="transparent" quality="high"></embed>

这样说明白了吗?想看例子?那我就本站首页的代码吧:

-------------------

  <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="552" height="425">
    <param name="wmode" value="transparent">
    <param name="movie" value="images/drip.swf">
    <param name="quality" value="High">
    <embed src="images/drip.swf" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="552" height="425"></embed>
  </object>

--------------------

浏览器的兼容问题,我也是最近才开始考虑,所以本站还存在很多这类问题,有时间我会慢慢改的,当然也会把经验写出来和大家分享~~

Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security code
Write the displayed characters


busy
 

Connect with me via QQ:38074 or e-mail:

©2006 bytea.net All Copyrights Reserved.

本站备案编号:保密^_^

RSS:  

开启背景音乐