How to put an HTML element on top of a Flash movie

Ever been in the situation where you want to put some HTML on top of Flash movie? You’ve cursed the designers for using Flash, and stated that it is impossible? If that’s the case, I’ll advise you to reconsider.

The solution to the problem is actually very easy. All you need to do is add a param to the object including the Flash:

	<param name="wmode" value="transparent">

This has been tested to work in the following web browsers:

  • Internet Explorer 5.0+
  • Firefox 1.5+ (I’m convinced it will work from 1.0+, but haven’t tested).
  • Safari 1.3+
  • Opera 7.03+

So, stop worrying about Flash being shown on top of your content, and instead, go out there and have a good time! :-)

Posted in Developing,HTML5/HTML/XHTML |

Leave a Reply

Your email address will not be published. Required fields are marked *