Home
Website
Template
Founctional
Promotion
Material
Example
Contact
当前位置:中意源科技 

网页中插入透明Flash的方法和技巧
【录入:allies  发文:信息部  发布时间:2007/01/01】

  
     将Flash插入网页的时候,我们有时候会需要将它设为透明,有时候我们需要在Flash的背面插入一些漂亮的图片,搭配出漂亮的效果……下面我们介绍一些将Flash插入网页中的一些透明的设置技巧。

  一、Swf透明、无坐标控制

  首先教大家最简单的插入Flash的代码,透明,无坐标控制:
  注意wmode="transparent"是控制Flash是否透明显示的,如果不想让它显示为透明的,直接把wmode="transparent"去掉即可。

<EMBED height=60 pluginspage=http://www.macromedia.com/go/getflashplayer src=http://design.yesky.com/flash/flash.swf type=application/x-shockwave-flash wmode="transparent" wmode="transparent" wmode="transparent" width=468 wmode="transparent" quality="high"></EMBED>

  二、Swf透明、绝对坐标控制

  再教教大家加入绝对坐标的透明Flash,绝对坐标意味着不管你的窗口拉多大,那个Flash依然乖乖地在原地不动。


<EMBED style="LEFT: 60px; WIDTH: 468px; POSITION: absolute; TOP: 200px; HEIGHT: 1000px" align=right src=http://design.yesky.com/flash/flash.swf width=568 height=60 type=application/octet-stream wmode="transparent" wmode="transparent" wmode="transparent" ;; quality="high" wmode="transparent">


  三、Swf透明、相对坐标控制

  最后教教大家如何加入相对坐标的透明Flash。
  注意下面代码的table部分,这主要是使用表格作为容器,把Flash“装”到表格里,这样不管浏览者把浏览器拉多大,Flash永远和表格一起动。而且,表格可以设置背景图片,表格上面再放一个透明Flash与背景图片相配合,效果很好。

<table border="0" cellPadding="0" cellSpacing="0" width=600 height=382 align=center
background=http://design.yesky.com/flash/backgroud.jpg>
<TD width=600 height=382><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer
src=http://design.yesky.com/flash/flash.swf width="100%" height="100%"
type=application/x-shockwave-flash wmode="transparent" wmode="transparent" wmode="transparent" wmode="transparent"
quality="high"></EMBED></TD></td></table>



 

 

在线留言 常见问题 SEO 研究 排名优化 百度推广 谷歌推广 动态文字 功能模块 网页背景 背景音乐 企业做站 网站建设 行业网站 手机网站 企业邮箱  域名专卖 空间专卖 模板仓库 视频网站 动画网站 企业建站 网站制作 门户网站 英文网站 联系我们
电话:027-88393302 88393465 传真:88393465 公司地址:武汉市武昌阅马场景观楼1012室  24小时客服务热线:15827318650、15807162837
Copyright 2003-2010 okzyy.com All Rights Reserved 武汉中意源科技有限公司 版权所有
鄂ICP备06018148号 [] 1036762796 1021305409 442689545 498337528 网站开发 网站设计 透明动画