Div layer covering flash (compatible with browsers), divflash

Source: Internet
Author: User

Div layer covering flash (compatible with browsers), divflash

Today, I tested the interaction between the div layer and flash, and found that the div layer is always covered by the flash layer. I searched Baidu for a while, add <param name = "wmode" value = "transparent"/> to solve the problem in IE, but FF does not seem to respond, later I learned that the code in IE and FF plus is different, as shown below:

Available in IE

<Param name = "wmode" value = "transparent"/>

Available in firefox

<Embed src = "YourFlash.swf" wmode = "transparent"...> </embed>

Wmode attributes:

Optional. supports transparent Flash content, absolute positioning, and hierarchical display in Internet Explorer 4.0. This tag/attribute is only valid in Windows with the Flash Player ActiveX control.

"Window" uses the film's own rectangular Window on the Web page to play the app. "Window" indicates that the Flash application has no interaction with the HTML layer and is always at the top layer.

"Opaque" hides all content on the page after the application.

"Transparent" enables the background of an HTML page to be displayed through all the Transparent parts of the application, and may reduce the animation performance.

Both "Opaque windowless" and "Transparent windowless" can interact with the HTML layer to allow the layer above the SWF file to mask the application. The difference between the two options is that "Transparent" allows transparency. Therefore, if a part of the SWF file is Transparent, the HTML layer below the SWF file can be displayed through this part, "opaque" is not displayed.

Related Article

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.