code is as follows |
copy code |
<object classid=" clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 "codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 "width=" height= "248" <param name= "allowscriptaccess" value= "Samedomain"/> <param name= "allowFullScreen" False "/> <param name=" movie "value=" flash/uploader.swf " <param name=" quality "value=" High "> <param name= "wmode" value= "Opaque" <embed src= "flash/uploader.swf" wmode= "Opaque" quality= "High" Pluginspage= "Http://www.macromedia.com/go/getflashplayer" type= "Application/x-shockwave-flash" width= "the" Height = "248" ></embed> </object> |
Blue: Solve the problem of cover layer under IE
Black bold: To solve the hidden layer problem under Firefox
Attached are three properties of Wmode:
Window plays the application on a Web page with its own rectangular window, and is always at the top level.
"Opaque" shows what is behind it on the page.
"Transparent" makes the background of an HTML page visible through all the transparent parts of the application, and may degrade animation performance.
Try it, both "Opaque" and "transparent" can interact with the HTML layer, allowing the layer above the SWF file to obscure the application. The difference between the two options is that "transparent" allows transparency, so if a portion of the SWF file is transparent, the HTML layer underneath the SWF file can be displayed through that section, and "opaque" is not displayed.