nageeb2016 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

SWFObject and z-index problem. #586

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a div and position it to be fixed at the of the page e.g. a fixed 
navigation menu that remains in position when the page scrolls.

What is the expected output? What do you see instead?
The flash object should be behind the div in terms of the z-index. Instead, the 
flash object is "on top" of all other page elements.

What version of the product are you using? On what operating system?
SWFObject 2.2 | Windows 7.

Please provide any additional information below.
A combination of fixes can be found here: 
http://geekswithblogs.net/steveclements/archive/2007/03/03/107839.aspx

I lost time researching this as have others. Can anything be done to automate 
this issue or at least prominently address it?

Original issue reported on code.google.com by darks...@rocketship.com on 10 Aug 2011 at 11:09

GoogleCodeExporter commented 9 years ago
This is not a SWFObject bug.

The windowing mode for a swf file is controlled through the wmode param. This 
is true whether you use SWFObject or the standard object+embed method.

You can read more about layering content with SWFObject here:
http://learnswfobject.com/advanced-topics/placing-html-elements-over-a-flash-mov
ie/

BTW - the link you provided wrongly says that you need to us wmode= 
transparent. You don't. wmode=opaque is the preferred method (unless you need 
to show details which are underneath the swf)

I am marking this as invalid

Original comment by aran.rhee@gmail.com on 10 Aug 2011 at 7:17

GoogleCodeExporter commented 9 years ago
@aran.rhee: Apologies for the misunderstanding and thanks for the 
clarification. The website you've linked to is a rich knowledge resource.

Original comment by darks...@rocketship.com on 15 Aug 2011 at 7:18