更糟糕的是,这里有一个我生成的扩展SWFObject,它正在工作(尽管有些过分):
var SWFObject = document.createElement("object");
SWFObject.setAttribute("type", "application/x-shockwave-flash");
SWFObject.setAttribute("classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000");
SWFObject.setAttribute("width", "100%");
SWFObject.setAttribute("height", "100%");
SWFObject.setAttribute("id", "movie");
var param1 = document.createElement("param");
param1.setAttribute("name", "movie");
param1.setAttribute("value", 'app-storage:' + filename);
var param2 = document.createElement("param");
param2.setAttribute("wmode", "opaque");
var param3 = document.createElement("param");
param3.setAttribute("bgcolor", "#FFFFFF");
var param4 = document.createElement("param");
param4.setAttribute("allowscriptaccess", "always");
var param5 = document.createElement("param");
param5.setAttribute("quality", "high");
var param6 = document.createElement("param");
param6.setAttribute("flashvars", "wmode=opaque");
var param7 = document.createElement("param");
param7.setAttribute("scale", "ShowAll");
var param8 = document.createElement("param");
param8.setAttribute("classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000");
SWFObject.appendChild(param1);
SWFObject.appendChild(param2);
SWFObject.appendChild(param3);
SWFObject.appendChild(param4);
SWFObject.appendChild(param5);
SWFObject.appendChild(param6);
SWFObject.appendChild(param7);
SWFObject.appendChild(param8);