使用swfobject.js调用flash,使flash背景透明的方法
发布时间:2020-12-15 06:10:06 所属栏目:百科 来源:网络整理
导读:1、使用调用参数的方法: var flashvars = {},params = {wmode:"transparent"},attributes = {};swfobject.embedSWF("/swf/yourSWF.swf","anim","300","200","9.0.0","/swf/expressInstall.swf",flashvars,params,attributes); 2、使用google ajax API方法:
1、使用调用参数的方法: var flashvars = {},params = {wmode:"transparent"},attributes = {}; swfobject.embedSWF("/swf/yourSWF.swf","anim","300","200","9.0.0","/swf/expressInstall.swf",flashvars,params,attributes); 2、使用google ajax API方法: <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript"> google.load("swfobject","2.2"); </script> 转自:http://nooshu.com/swfobject-2-2-and-wmode-transparent (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |