Place HTML Div on top of Flash

If you have ever tried to place a div or similar HTML element on top of a swf flash object you will know that it always tries to take precedence.

You will need to do the following:

In the code for the flash add:

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

and in the embed area add:

wmode=”transparent”

If you are using SWFObject to insert swf files you can do the following:

<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "400", "100%", "8", "#336699");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>

Share This Article

Related Posts

There are no related posts on this entry.

Comments

There are no comments on this entry.

Trackbacks

There are no trackbacks on this entry.

Add a Comment

Required

Required

Optional

Latest Domains

1. teledyne.com
(6 hours ago)
2. ngtechonology.com
(6 hours ago)
3. nonude.in
(7 hours ago)
4. spicyhunt.com
(13 hours ago)
5. whpromotions.co.uk
(16 hours ago)
6. seslihome.com
(17 hours ago)
7. sesliislam.com
(20 hours ago)
8. woopra.com
(1 day ago)
9. wapdam.com
(1 day ago)
10. 193.105.134.194
(1 day ago)

Services

PHP MySQL Apache Flash Air Java C++ Python