A div or list on top of a flash movie?

Soldato
Joined
23 Oct 2003
Posts
8,899
Location
Hampshire, UK
Hi guys,

Got a flash movie that spans my web page. I want a menu on top of it. If I use position:absolute, even with a high z-index I still cant see the menu. Is there any way to do this?

thanks
 
I dont think it is possible to overlay something over a flash movie.

Flash will always appear with the highest z-index IIRC.
 
I did some experiments with this about 2 years ago and ran into the wall that it would never work on a mac, I got it working on the pc, but the mac would never play ball.

It's funny I was trying the same thing again about 30 minutes ago and now I'm on a mac, I can't even get past stage one, although it only jumps to the top when the flash is actually animating, when the anim stops, the flash assumes its rightful place.
 
Thanks for the replies guys. Not a major problem, I can just do things a different way.

thanks again! :)
 
It is possible but you need some additional parameters on the flash file.

Code:
<object type="application/x-shockwave-flash" data="/_flash/flash_file.swf" width="width" height="height">
<param name="movie" value="/_flash/flash_file.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="menu" value="false" />
<img src="/_images/flash_alt_image.jpg" width="width" height="height" alt="" />
</object>
 
paulsheffII said:
It is possible but you need some additional parameters on the flash file.

Code:
<object type="application/x-shockwave-flash" data="/_flash/flash_file.swf" width="width" height="height">
<param name="movie" value="/_flash/flash_file.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="menu" value="false" />
<img src="/_images/flash_alt_image.jpg" width="width" height="height" alt="" />
</object>

EDIT: It doesnt seem to load in IE 6 now, just get the progress bar stopping and a blank space. :(

Works in FF though.
 
Last edited:
Have you got the exact file right in both these params:

Code:
<object type="application/x-shockwave-flash" data="_flash/flash_file.swf" width="width" height="height">
<param name="movie" value="_flash/flash_file.swf" />
 
Would it be possible with your design to check for ie6 and adjust your layout to something else just for that case? Shouldnt have to dumb-down your design for a now-outdated browser.

Code:
<!--[if lt IE 6]>
    <some kinda handler>
<![endif]-->
 
Back
Top Bottom