Delta Engine Blog

All about multiplatform and game development

How to change Flash z-order

Flash

Just a little trick I found out, which helps if you have some Flash object on your website or multiple Flash objects overlapping and do not want the Flash object to block other Flash objects that are rendered later (e.g. loaded via javascript) or some other dynamic elements like javascript menus.

 

Well, all you have to do is to put the Flash object that is on top and blocking other elements you want to have visible on top of it via the transparent mode (not really intuitive, but it works):


 
And for the embed tag add the following parameter:
wmode="transparent" 
A complete example:

  
  
   
  

which produces this: