Html Overlay Flash – The Fastest Solution

Warning: Use of undefined constant the_modified_time - assumed 'the_modified_time' (this will throw an Error in a future version of PHP) in /homepages/45/d244356241/htdocs/lukevandeman/wp-content/themes/960bc/single.php on line 18
Updated November 10th, 2009    

Here is a quick and easy way to fix Flash overriding the HTML z-index.

This comes in handy when using javascript in menus and modal windows.

1. Include the WMode parameter with value “Opaque” or “Transparent” to the flash object tag

  1. <param name=”quality” value=”high” />
  2. <param name=”WMode” value=”Opaque” />
  3. <param name=”src” value=”slideshow.swf” />

2. Add WMode=”Opaque” to the flash embed tag

  1. type=”application/x-shockwave-flash”
  2. width=”400″ height=”200″
  3. src=”slideshow.swf”
  4. quality=”high”
  5. wmode=”Opaque”
  6. name=”slideshow”

Additional Resources
Adobe – Flash content displays on top of all DHTML layers

Leave a reply