Flash

From Robertjd

Jump to: navigation, search

Embedding

object, embed, and css z-index

Based on the information here: http://joshuaink2006.johnoxton.co.uk/blog/82/flash-content-and-z-index

I have found that this code will allow me to embed a flash file and have it respect my CSS z-index rules in Firefox 3, Safari 4 and IE8:

<object width="930" height="330">
<param name="wmode" value="transparent">
<param name="movie" value="/flash/myflashthing.swf">
<embed src="flash/myflashthing.swf" width="930" height="330" wmode="transparent"/>
</object>

The key seems to be the "wmode"="transparent" parameter

Personal tools