View Single Post
  #3  
Old 10-13-2007, 09:25 PM
 
ozi ozi is offline
 

Member
  
Join Date: Jun 2005
Posts: 23
 

Default Re: Grey border around flash - This works

Create file: ieupdate.js
copy the below code in to "ieupdate.js"
-----------------

theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}

--------------
Just below the last <object></object> in your HTML page, insert the following javascript:

<script type="text/javascript" src="ieupdate.js"></script>

Ex:

<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name=quality value=high>
<embed src="file.swf" quality=high pluginspage="" type="application/x-shockwave-flash" ">
</embed>
</object>
<script type="text/javascript" src="ieupdate.js"></script>
__________________
Version 4.1.8
Reply With Quote