swfobject.embedSWF参数
2.0? embedSWF:?function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj) 2.2 ??embedSWF:?function(swfUrlStr,attObj,callbackFn) swfUrlStr:(String,必须的)flash地址url, replaceElemIdStr,:(String,必须的)替换元素的id widthStr:(String,必须的)flash宽度,类型为字符串 heightStr:(String,必须的)flash高度 swfVersionStr:(String,必须的)指定你发布的SWF对应的Flash Player版本(格式为:major.minor.release) xiSwfUrlStr:(String,可选的)指定express install SWF的URL并激活Adobe express install flashvarsObj:(Object,可选的)用name:value对指定你的flashvars parObj:(Object,可选的)用name:value对指定你的嵌套object元素的params attObj:(Object,可选的)用name:value对指定object的属性 callbackFn:(Function,可选的)flash加载完成的回调函数,2.2才支持。 callbackFn参数:{success:true/false,id:"object id",ref:DOM Element}
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |