Div layer covering flash (compatible with browsers), divflash
Today, I tested the interaction between the div layer and flash, and found that the div layer is always covered by the flash layer. I searched Baidu for a while, add <param name = "wmode" value = "transparent"/> to solve the problem in IE, but FF does not seem to respond, later I learned that the code in IE and FF plus is different, as shown below:
Available in IE
<Param name = "wmode" value = "transparent"/>
Available in firefox
<Embed src = "YourFlash.swf" wmode = "transparent"...> </embed>
Wmode attributes:
Optional. supports transparent Flash content, absolute positioning, and hierarchical display in Internet Explorer 4.0. This tag/attribute is only valid in Windows with the Flash Player ActiveX control.
"Window" uses the film's own rectangular Window on the Web page to play the app. "Window" indicates that the Flash application has no interaction with the HTML layer and is always at the top layer.
"Opaque" hides all content on the page after the application.
"Transparent" enables the background of an HTML page to be displayed through all the Transparent parts of the application, and may reduce the animation performance.
Both "Opaque windowless" and "Transparent windowless" can interact with the HTML layer to allow the layer above the SWF file to mask the application. The difference between the two options is that "Transparent" allows transparency. Therefore, if a part of the SWF file is Transparent, the HTML layer below the SWF file can be displayed through this part, "opaque" is not displayed.