Welcome to WebmasterWorld Guest from 54.147.16.12

Forum Moderators: not2easy

Message Too Old, No Replies

how can i place a div over a flash element?

     
8:25 pm on Aug 31, 2006 (gmt 0)

New User

10+ Year Member

joined:Apr 7, 2006
posts:4
votes: 0


i have a flash object and a div that contains some content. i have positioned both absolute and set the z-index right, but the content is always under the flash element.

what can i do in order to get the content (TEXT) to show over the flash object?

can flash objects can be used as backgrounds?

8:36 pm on Aug 31, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 9, 2004
posts:160
votes: 0


Unfortunately flash always takes precedence no matter what you do with z-index to my knowledge. I've seen some sites actually Hide their flash on mouseover and have a background which looks like a static version of the flash while the dropdown menus cover it. They used to use that on adobe.com.
8:45 pm on Aug 31, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:July 2, 2004
posts:607
votes: 0


You can do it by placing
<param name="wmode" value="transparent">
in your Flash area. You will also need to add
wmode="transparent"
to the "embed" area of your flash.

and as a side note, "Google is your friend."

8:59 pm on Aug 31, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 9, 2004
posts:160
votes: 0


weird I went to adobe.com just now and noticed they have dropdowns over top of moving flash. so aparently it is possible now. maybe flash 9 fixes it?
11:28 pm on Aug 31, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:July 2, 2004
posts:607
votes: 0


The "fix" I posted is actually from the Adobe site - they have that solution there in their "help" files. I've given it quite often to people who use Son of Suckerfish dropdowns and have an issue with the dropdowns falling behind the flash object. Works just as well for other problems, too :) (And not just with Flash 9!)