Darksat IT Security Forums
April 23, 2017, 11:43:45 am
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]
  Print  
Author Topic: Floating Layers over Flash - wmode transparent / opaque  (Read 11758 times)
Darksat
Administrator
Master
*******
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
wmode=windows
(which is the default so you dont need to put it in)

wmode=opaque
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

and
wmode=transparent
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):
Code:
   <param name="wmode" value="opaque">

and in the Embed tag, add the following attribute:

Code:
wmode="opaque"

Report Spam   Logged

Social Buttons


Pages: [1]
  Print  
 
Jump to:  

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

Buy traffic for your forum/website
traffic-masters
Powered by SMF | SMF © 2016, Simple Machines
Page created in 0.094 seconds with 12 queries.