Online solutions:
From: http://codingforums.com/showthread.php? T = 95109
(A) place Flash embed script in <div> container (I use SWFObject. js) [embed the flash script into a div container]
(B) add wmode = transparent to Flash embed script [add wmode = transparent to flash embedded script]
(C) set <div id = "flashcontent"> container with z-index:-1; [set the z-index of the outer container to-1]
(D) set <body> tag with style... position: relative; left: 0px; top: 0px; z-index: 0;
(Otherwise Firefox does not accept negative z-index)
(E) set floating iframe in container with z-index: 99; [set zindex of floating iframe in container to 99]
(F) use CSS to position flashcontent and htmlcontent containers. [use css to adjust the position of flash and html containers]
Other solutions are more common on the Internet. I will not elaborate on them. Here I will explain how to solve the problem by using the first solution:
Copy codeThe Code is as follows:
Var so = new SWFObject ("XXX.swf", "flashId", "width", "height", "version", "background color ");
// Sets the div layer not covered by flash.
So. addParam ("wmode", "opaque ");
So. write ("flashcontent ");
With this setting, flash cannot hide the div.