Hello everyone, I found this in my search for an answer to a problem i have which by the way is identical to an old post here.
http://markmail.org/message/mfv3bu3mt7xwpagw In the post (Shawn) found the solution but i am not sure exactly what he is talking about? he say's: fixed, I replaced the usage of the anchor tag with javascript's I load my swfs into a div (<div id="flashcontent"></div>) with this javascript: function isObject(targetID){ var isFound = false; var el = document.getElementById(targetID); if(el && (el.nodeName === "OBJECT" || el.nodeName === "EMBED")){ isFound = true; } return isFound; } function replaceSwfWithEmptyDiv(targetID){ var el = document.getElementById(targetID); if(el){ var div = document.createElement("div"); el.parentNode.insertBefore(div, el); swfobject.removeSWF(targetID); div.setAttribute("id", targetID) } } function loadSWF(url, targetID){ if (swfobject.hasFlashPlayerVersion("9")){ var attributes = { data:url + "?" + new Date().getTime(), id:"flashcontent", width:"100%", height:"100%", }; var params = { menu:"false", quality:"best", base:".", bgcolor:"#000000", allowNetworking:"all", allowScriptAccess:"always", }; var obj = swfobject.createSWF(attributes, params, targetID); } } Any help is appreciated! PhilBuilt www.philbuilt.com -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
