Update: I knew that it was either one or the other regarding wmode, I chose the wrong one. Should not have answered the question, suffering from sleep deprivation. I checked it now and wmode is set to transparent what you want. It allows you to place HTML elements over Flash objects.
Secondly, embed Flash in a friendly standard and use swfobject .
Try folding the bright div color on top of your Flash first for a test. Alternatively, perhaps move the image code over Flash and see how this happens.
Finally, everything you need to get your code to work , as mentioned by K Prime, sets wmode to transparency in your embed tag, as well .. p>
<div style="position:absolute; top:0px; z-index:-2000;"> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="176" height="146"> <param name="movie" value="/Images/WordOfLife.swf" /> <param name="wmode" value="transparent" /> <param name="quality" value="High" /> <param name="menu" value="false" /> <embed src="/Images/WordOfLife.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" wmode="transparent" menu="false" width="176" height="146" /> </object> </div> <div style="position:absolute; top:0px; z-index:2000;"> <img src="Logo.gif" alt="" /> </div>
Daniel Carvalho
source share