IE更新ActiveX 使flash不爽的解决办法 不指定

目前已经解决flash出现边框和点击两次的问题,最新版已经解决参数与变量

最佳方法是:使用的是deconcept 的flashObject方法

请下载:http://www.tenlin.com/js/flashobject.js

<script type="text/javascript" src="http://www.tenlin.com/js/flashobject.js"></script>
<div id="flashcontent">
<a href="http://www.tenlin.com/iblog">你没有装插件哟~</a>
</div>
<script type="text/javascript">
var fo = new FlashObject("http://www.tenlin.com/iblog/attachment/zdxl.swf", "zdxl", "500", "375", "6", "#ffffff");
fo.addParam("quality", "high");
fo.addParam("wmode", "transparent");
fo.addParam("salign", "t");
fo.addVariable("variable1", "value1");
fo.addVariable("variable2", "value2");
fo.addVariable("variable1", getQueryParamValue("variable1"));
fo.addVariable("variable2", getQueryParamValue("variable2"));
fo.write("flashcontent");
</script>


说明:


"zdxl", "500", "375", "6", "#ffffff"

分别是 id,宽,高,版本,背景色


write("flashcontent");与div的id一定要符合,不然一个页面不能使用多个flash


fo.addParam("quality", "high");
fo.addParam("wmode", "transparent");
fo.addParam("salign", "t");
fo.addVariable("variable1", "value1");

这个是参数与传递变量

这次遭受强奸的是:flashplayer.Authorware player, shockwave Player, SVG Viewer,Help Center, Adobe Reader,Sun Java, Apple QuickTime, RealNetworks,RealPlayer
Tags: ,
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]