请帮帮我,我快疯了......关键代码在下面,它不起作用,“对象”中没有任何内容:
var obj=document.createElement('object');
obj.id="FlashFormulaEditor";
obj.width="520";
obj.height="500";
document.body.appendChild(obj);
table.appendChild(obj);
var swfVersionStr = "9.0.0";
// To use express install, set to playerProductInstall.swf, otherwise the empty string.
var xiSwfUrlStr = "";
var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "FlashFormulaEditor";
attributes.name = "FlashFormulaEditor";
attributes.align = "middle";
swfobject.embedSWF("./FlashFormulaEditor.swf", "FlashFormulaEditor", "475", "552", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);