Login for Software or Support

CoffeeCup - HTML Editor, Flash & Web Design Software

Over 49,068,927 Downloads in 87 Countries

Tell a Friend About Our Cool Software

CoffeeCup Free DHTML Menu Builder Help Center

Sign In For Priority Support Forgot yours ?
More Free DHTML Menu Builder Help: Other Resources: Contact CoffeeCup:

Send Snail Mail:
CoffeeCup Software
165 Courtland Street
Suite A, Box 312
Atlanta, GA 30303

Give us a call:
Toll Free: 866.734.HTML (4865)
Sales Hotline: 678.495.3480
Fax: 678.495.3481

Flash objects display over the DHTML menu

A Flash movie in a layer on a DHTML page containing several layers may display above all the layers, regardless of the stacking order ("z-index") of those layers.

By default, browsers place embedded plug-in content, such as a Flash movie or Java applet, on the topmost layer. In older browsers, attempts to place a DHTML layer on top of a Flash layer would fail. Newer browsers add the ability to layer Flash content with DHTML content and in some cases the ability to use transparent backgrounds in the Flash content.

Use the WMODE parameter to allow layering of Flash content with DHTML layers. The WMODE parameter can be 'window' (default), 'opaque', or 'transparent'. Using a WMODE value of 'opaque' or 'transparent' will prevent a Flash movie from playing in the topmost layer and allow you to adjust the layering of the movie within other layers of the HTML document.

You can normally add the WMODE parameter and attribute to the object and embed tags respectively:

<object ...>
<param name="wmode" value="transparent">
<embed ... wmode="transparent" ...>
</object>

but if you're using the SWFObject "Active Content Fix" for any of our applications, your code will look slightly different. Because the javascript dynamically replaces a div content, you only need to add a single line of code to the script:

so.addParam("wmode","transparent");

Note: The WMODE parameter is supported only on some browser/Flash Player version combinations. If the WMODE parameter is not supported, the Flash movie will always display on top. Refer to Adobe TechNote 14201 for details.

Was this article helpful?

Free DHTML Menu Builder Help Index | Free DHTML Menu Builder Homepage

Download Our Software:

... and don't forget about our Free Software

CoffeeCup Home Page | Software | Copyright & Legal | Site Map | © 1996 - 2008 CoffeeCup Software, Inc.