How to solve the problem of blackening and opacity of swf files in Chrome (Google Chrome) and flash in Firefox,
I have always seen that FLASH on all major websites is black box and curious. Do they not know that flash can be set to transparent? So I browsed it with the IE Tab plug-in and found that the webpage was normal again. As a result, I began to suspect that there was a problem with Chrome, so I switched to multiple computers, after a variety of operating systems, we found a solution to the symptoms:
Try to use IE when encountering this website. If your website is also in this type of website, you may need to modify your website code.
This is an html code that is transparent to flash.
<Param name = "wmode" value = "transparent">
Copy code
After the preceding html code is added, the flash transparency of IE browser can be achieved. However, chrome and Firefox cannot be transparent.
How to Set flash transparency in chrome and Firefox
Add the wmode attribute to the embed label and assign it to "transparent"
Wmode = "transparent"
The overall call is as follows:
<Object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width = "615" height = "249">
<Param name = "movie" value = "8pit.swf">
<Param name = "quality" value = "high">
<Param name = "wmode" value = "transparent">
<Embed src = "swf/flash.swf" quality = "high" pluginspage = "http://www.adobe.com/shockwave/download/download.cgi? P1_Prod_Version = ShockwaveFlash "type =" application/x-shockwave-flash "width =" 200 "height =" 200 "wmode =" transparent ">
</Object>