Darksat IT Security Forums
January 20, 2021, 03:38:44 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
  Home Help Search Gallery Links Staff List Login Register  

Floating Layers over Flash - wmode transparent / opaque

Pages: [1]
Author Topic: Floating Layers over Flash - wmode transparent / opaque  (Read 12244 times)
Posts: 3303

View Profile WWW
« on: February 14, 2007, 06:59:50 am »

Anyone who has ever mixed DHTML and flash will know that flash elements have a very nasty habit of showing up on top no matter what.
DHTML layers that should float over your flash element end up floating behind it and in general this can really mess up your site.
Well thats not strictly true anymore.
Ever since flash 6 it has been possible to modify how your flash player is displayed using the window mode "wmode"

there are 3 wmode values
(which is the default so you dont need to put it in)

which sets your flash object to act like any other page element, so you can float DHTML and javascript layers over it without the flash movie showing through

Which makes the background of the page, or the DHTML layer underneath the Flash movie or layer, to show through all the transparent portions of the movie.

To change the mode you need to edit in 2 places
In the Object tag, add the following parameter (opaque is shown as an example):
   <param name="wmode" value="opaque">

and in the Embed tag, add the following attribute:


Report Spam   Logged

Share on Facebook Share on Twitter

Pages: [1]
Jump to:  

Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.078 seconds with 14 queries.