The pop-up layer is masked by flash

Source: Internet
Author: User

The pop-up layer is masked by flashIt can be said that it is a classic problem. I often find two questions from the Internet and post them for my notes.

1. Add <Param name = wmode value = "Opaque"> 2. Then add wmode = "Opaque" in the embed"
2012-2-1, updated: 1. Add <Param name = "wmode" value = "Transparent"> 2. Set wmode = "Opaque" for embed.

 

 

Wmode parameter introduction in swfobject

Wmode attribute

The parameter values include:

Window | opaque | transparent | direct | GPU, etc.

EG ).

HTML code

Description

"Window" uses the film's own rectangular window on the Web page to play the application. "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 behind it.

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

Both opaque and transparent can interact with the HTML layer and 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.

If this attribute is ignored, the default value is window. Only applies to objects.

Wmode is usually used to set the float layer in flash. Because the object objects of development tools such as Dreamweaver do not have this attribute, when you want to add float layers to flash, remember to add this property and set its property value to opaque or transparent.

It is worth noting that the transparent mode in these modes will cause text input boxes (inputtext) to fail to enter Chinese characters. This is not the case in other modes.

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.