I suggest doing a DOMElement.replaceChild.<br><br>// Somthing like<br>function removeSWFobject() {<br> var newdiv = document.createElement("div");<br> newdiv.innerHTML = "Hello World!";<br> var flashdiv =
document.getElementById("mySWFobjectDIVcontainer");<br> document.body.replaceChild(newdiv, flashdiv);<br>}<br><br>Of course it does not destroy the SWFObject declared in JavaScript memory, it only removes the HTML rendered output.
<br><br>