如何让层飘在Flash上面?

如何让层飘在Flash上面?

出处:有风的日子设计论坛发布时间:2005-7-20 11:27:54阅读次数: <script src="../../pageview.asp?id=713" type="text/javascript"></script> 854
关键字:飘动层, Flash, 背景透明
<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-5474394489889533&dt=1154951641328&lmt=1147867102&alternate_ad_url=http%3A%2F%2Fwww.windstudio.net%2Fad%2Fwindstudio_468x60.htm&format=468x60_as&output=html&url=http%3A%2F%2Fwww.windstudio.net%2Fhtml%2F200507%2F20050720112754.htm&color_bg=FFFAB3&color_text=000033&color_link=000033&color_url=008000&color_border=FFFAB3&ad_type=text_image&ref=http%3A%2F%2Fwww.baidu.com%2Fs%3Fie%3Dgb2312%26bs%3D%25B2%25E3%2B%25CF%25C2%25C0%25AD%25BF%25F2%26sr%3D%26z%3D%26cl%3D3%26f%3D8%26wd%3D%25B2%25E3%2BFLASH%26ct%3D0&cc=99&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_java=true" frameborder="0" width="468" scrolling="no" height="60" allowtransparency="allowtransparency">

Q:怎样才能让层飘在Flash上面?

A:如果网页中有飘动的层,当层飘过Flash时会被Flash遮住。解决办法是在网页里把.SWF文件设置为背景透明,具体做法:
DW中,插入Flash动画,然后在其属性面板中,点parameters,添加参数wmode,值为transparent;
或者直接修改网页的代码,在定义SWF文件属性的代码中添加:
<param name="wmode" value="transparent">
注意,这种效果只有IE支持。

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值