Forum Moderators: open

Message Too Old, No Replies

how to remove gray border around flash in web page

         

BitShift

9:52 pm on Oct 19, 2006 (gmt 0)

10+ Year Member



When I move my mouse over my flash movie in internet explorer, i get a small, dashed gray border around the flash movie. is there any way to avoid this? i have a dropdown menu in the area abovethe movie and the border is interfering with it.

ratanfx

12:48 am on Oct 20, 2006 (gmt 0)

10+ Year Member



Filename: 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>

BitShift

1:14 pm on Oct 20, 2006 (gmt 0)

10+ Year Member



That did it!
THANK YOU!