PDA

View Full Version : Problem to hide flash in Firefox


Cazz
01-24-2006, 09:57 PM
I have this code to hide a bit of a flash

#myflash{
position:absolute;
width:100px;
height:100px;
z-index:100;
border: 2px solid black;
overflow:hidden;
left: 167px;
top: 44px;
}


<div id="myflash">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="350" height="200"><param name="movie" value="flash.swf" /><param name="quality" value="high" /><embed src="flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="200"></embed></object>
</div>

And I use some Javascript so I can show whole flash or hide a little of the flash.
In IE it work but not inside the FF, in FF it show whole flash but I just want the the flash to show 100x100px

GoodieBR
02-01-2006, 07:45 AM
The problem is probably the same one mentioned on this thread:

http://www.actionscript.org/forums/showthread.php3?t=60193

It's better to avoid using absolute-positioned layers in FF. They are really buggy.