当前位置: 代码迷 >> Web前端 >> swfobject 使用
  详细解决方案

swfobject 使用

热度:330   发布时间:2012-11-20 09:55:43.0
swfobject 应用
1 页面代码
<script type="text/javascript" src="swfobject.js"></script>


<script type="text/javascript">
		
		var flashvars = {};
		flashvars.xmlPath = "data.xml";
		var params = {};
		params.wmode = "transparent";
		var attributes = {};
		swfobject.embedSWF("xixi.swf","banner","960", "250", "9.0.0", "expressInstall.swf",flashvars,params);
 </script>

<div id="middle">
    <div class="banner" id="banner">
    </div>
<div id="middle">


2 所需资料
在附件里面

3 参考资料
http://blog.deconcept.com/swfobject/
1 楼 zheyiw 2011-04-25  
非常好!!