this is the page i did:

and this is anothe page i did where i called the menusite.shtml as an include inside a div z-index-2:

i have 2 small flash files in this page and you can see that i can't see all the open menu - can you tell me why??? :(

you can see sample that works fine at:

i solved the problem only for IE browsers by adding "wmode=transparent" to the flash objects

But what should i do for other browsers?

To edit an existing HTML page, add the WMODE parameters to the HTML code.

1. Add the following parameter to the OBJECT tag:

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

2. Add the following parameter to the EMBED tag:

:cool: ;)

This Will Work With All Browsers :idea:



i think wmode is only for windows. here i have same problem. it has been resolved for browsers running on windows platform. but as i run the site on linux platform then wmode is not working. and the menu goes behind the flash. what do i do?

I spent a lot of time scouring the web for a solution to this 'javascript menu appearing behind flash' problem. The advice that Katarey and many on the web suggest did not work for me:

1. Add the following parameter to the OBJECT tag:

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

2. Add the following parameter to the EMBED tag:


Until I found this post:

The solution was to add ONE MORE (3 total) 'wmode' line to your AC_FL_RunContent script. This assumes that you're using the Adobe/Macromedia method of embedding your flash objects.

My code:

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','700','height','600','title','title of my flashmovie','src','/swf/flashfilename','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/swf/flashfilename','wmode','Transparent' ); //end AC code

          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="700" height="600" title="title of my flashmovie">
            <param name="movie" value="/swf/flashfilename.swf">
            <param name="quality" value="high">
            <param name="wmode" value="transparent">
            <embed src="/swf/flashfilename.swf" wmode="transparent" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="600"></embed>

And between the <head> and </head> tags, don't forget to add:

<script src=”AC_RunActiveContent.js” language=”javascript”></script>

Flash will generate this file for you.. or you could download it from the Macromedia site.

wmode = transparent only seems to work in MS Windows and sometimes in Linux browsers. (don't now about the Mac, can someone say something about flash on the Mac). But it depends on the rest of the code used.

I'm re-designing a web site and there will be a flash movie in it. Under Linux in Firefox 2 the menu will push the flash move out of the way, in Firefox 3 the menu goes behind the flash.

Have spend a lot of time on google to find a working solution, but found none. :'(

In another forum some members there claimed that Adobe is to blame. The flash plugin for Linux browsers seems to contain a serious bug and can't be trusted to handle wmode correctly all the time (in fact, most off the time it will not work).

Still have to do some work on it. The flash move I'm using on this new site is a slide show with overlay, so it is not that hard for me to re-use some old javascript to get more or less the same result. The nice looking effect when images change in the flash movie isn't there, but at least the images will display and the menu will work.
In the final version (that is, as the site goes life), there will be a test for Linux and if so, the javascript comes to the rescue.


I have a test environment (you can find it here:, where I use a flash movie if the OS is Windows or Mac and a javascript slide show if it is Unix, Linux or Unknown. The upload from this address is a little slow..

When using the flash under Linux the menu goes wrong. Either its hidden behind the flash or it pushes the flash out of the way (depends on the browser used).

Maybe you think "why not using the javascript for Windows and Mac also". Well, the final flash will have an overlay and some other things in it, and the javascript version only shows the images.

For the way I do it, please see the source code. The url's of the images are in a xml file and either the flash or the javascript reads these in. It's therefore possible to quickly change the images and have more or less images. The current ones are landscapes found with Google and are used here only for testing.

The test environment will stay online for a couple of days.

If you have a Mac please let me know how it shows on your machine. Linux and Windows is something I can test, but I have no Mac.



I just bought a WP theme and i have the same issue with Flash video and menu that goes behind.

Unfortunatly, the integration code has changed : now it's an iframe and the hack here : http://www.kriesi.at/support/topic/mega-menu-spreads-behind-video does not work.

i'm not enough strong to fix the issue with iframe integration :( Can someone help me ?

Thank you !

thank you so much for this tip. it solved my problem too

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.