Log in

View Full Version : Dynamic Drop Down Menu behing flash object



crimsonsmeagol
02-27-2008, 07:28 AM
I'm trying to put a flash movie under a CSS drop down menu, however, the menu shows up behind the flash object. I tried using
<param name="wmode" value="transparent">
in the object tag and the
<embed wmode="transparent">
but I want to keep the background color I have in the flash movie.

How can I do this? Please help.

BLiZZaRD
02-27-2008, 02:51 PM
Quick answer... you can't.

Long(er) answer.. clever use of z-index, div positioning and CSS setting colors for said div, with negative margins and padding to give the illusion of the Flash retaining background color, and it not spilling over into the div.

Start with SWFObject (http://blog.deconcept.com/swfobject/), get rid of your <embed> tag, get around the active-x issues and z0index your elements in the proper layer order.

Medyman
02-28-2008, 01:14 AM
http://joshuaink2006.johnoxton.co.uk/blog/82/flash-content-and-z-index