View Full Version : Pesky Outline around Flash Objects in IE
desrosj
12-05-2006, 11:56 AM
Hey Guys,
I'm sure that you all know about flash objects in IE, and how a gray, zigzag outline appears around all flash objects until you click it to "activate" the flash object.
Is there any code that gets rid of the outline and automatically activates the flash object?
Desrosj
RysChwith
12-05-2006, 05:30 PM
You have to embed the Flash with an external JavaScript file. You can either do it yourself using document.write statements or try something like FlashObject.
Rys
desrosj
12-06-2006, 10:54 AM
I use dreamweaver, and I usually insert the flash objects through it. This is the code that it puts in. Id does use object tags but I still have the outline issues.
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="646" height="46">
<param name="BGCOLOR" value="#153580">
<PARAM name="movie" value="welcometothefuturehomeo.swf">
<PARAM name="quality" value="high">
<PARAM name="scale" value="exactfit">
<EMBED src="welcometothefuturehomeo.swf" width="646" height="46" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="exactfit" bgcolor="#153580" ></EMBED>
</OBJECT>
RysChwith
12-06-2006, 02:44 PM
Right. You need to take all of that out of the HTML file, then create an external JavaScript file that will load it. I don't think it's something you can do in Dreamweaver's design mode.
Rys
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.