Today, I encountered a problem. I put two Flash files on the webpage and set the "z-index" attribute, but it didn't work. I searched the internet, it is found that the original Flash has the highest priority. To set it to the bottom layer of the web page, in addition to setting the "z-index" attribute, you also need to set the Flash to transparent. Paste the Code:
1. Method 1:
<Div style = "z-index:-1"> <! -- 1. Set FLASH to the underlying layer -->
<Object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://xxx.xxx.xxx" width = "200" height = "115">
<Param name = "movie" value = "media.swf">
<Param name = "quality" value = "high">
<Embed src = "media.swf" quality = "high" pluginspage = "http://xxx.xxx.xxx" type = "application/x-shockwave-flash" width = "200" height = "115"> </embed>
<Param name = "wmode" value = "Opaque"> <! -- 2. You must set the FLASH to transparent -->
</Object> </div>
2. Method 2:
<Embed src = "xxxxx.swf" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application/x-shockwave-flash" width = "900" height = "150" wmode = ""transparent"> </embed>