Solution of flash cover layer compatible with IE FF

Source: Internet
Author: User
Tags html page
  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.

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.