我在我的网站使用Adobe flash播放器,现在我需要增加一些数据库中提交的内容,当用户点击播放器时。 这里是脚本flash播放器:使用
<div id="conteiner" style="text-align: center;" ></div>
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","420","380","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=<?=$video ?>");
s1.write("conteiner");
</script>
我deside使用AJAX它,但我怎么能写在Flash对象的功能? 由于事先
UPDATE: 我只有swfobject.js文件,其中包含这样的数据
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7)
...
和player.swf
,和HTML,我已经媒体链接显示。我现在不是这个Flash Player或不是,我该怎么办?
player.swf从哪里来?你有源吗?您需要修改它以向服务器发送更新数据库的请求。 – 2010-04-14 18:52:14
@Sam看看请更新 – Simon 2010-04-14 19:32:15
你几乎不走运。如果您没有player.swf的原始来源,则无法更改它。从技术上讲,你可以使用反编译器,然后进行更改和重新编译,但如果你没有源代码,你可能也没有权限。 – 2010-04-15 00:35:22