Today, I tested the interaction between the div layer and flash, and found that the div layer was always covered by the flash layer. I searched on Baidu for a while and said that I would add a <param name="wmode" value="transparent" />. After adding, the problem was solved in IE, but it seemed that there was no response under FF. Later I learned that the code added by IE and FF is different, as follows: Available under IE browser Available under firefox About wmode attribute information:
<param name="wmode" value="transparent" />
<embed src="YourFlash.swf" wmode="transparent" >
...
</embed>
(Optional) Allows transparent Flash content, absolute positioning, and layered display capabilities in Internet Explorer 4.0. This tag/attribute is only valid in Windows with Flash Player ActiveX controls.
"Window" plays the application on the web page using the video's own rectangular window. "Window" indicates that this Flash application has no interaction with the HTML layer and is always at the top level.
"Opaque" makes the application hide everything on the page that is behind it.
"Transparent" enables the background of the HTML page to be displayed through all transparent parts of the application and may degrade animation performance.
Both "Opaque windowless" and "Transparent windowless" can interact with the HTML layer, allowing the layers above the SWF file to mask applications. The difference between the two options is that "Transparent" allows transparency, so if a part of the SWF file is transparent, the HTML layer below the SWF file can be displayed through that part, while "opaque" won't show .