How to solve the problem of blackening and opacity of swf files in Chrome (Google Chrome) and flash in Firefox,

Source: Internet
Author: User

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.