Solution to ie shielding flash pop-up window

Source: Internet
Author: User

The navigateToURL pop-up window, especially when the pop-up is not an html file, it will be blocked by ie

The solution is as follows:

 

If (Capabilities. playerType = 'activex ')
{
ExternalInterface. call ("window. open", "http://download.ie.sogou.com/bd_full.2.2/sogou_explorer_2.2.0.1784_3476.exe ");
}
Else
{
NavigateToURL (new URLRequest ("http://download.ie.sogou.com/bd_full.2.2/sogou_explorer_2.2.0.1784_3476.exe"), "_ blank ");
}

 

Note: The wmode parameter of swf must beOpaqueOrTransparent

 

Window Mode

In the default display mode, flash player has its own window handle, which means that flash videos exist in a display instance in Windows, and it is on the core display window of the browser, so flash is only seemingly displayed in the browser, but this is also the fastest and most efficient rendering mode of flash. Because it is independent from the HTML rendering surface of the browser, flash will always block all DHTML layers whose positions overlap with him in the default display mode.

However, most Apple Computer browsers allow the DHTML layer to be displayed on top of the flash, but the flash film may be playing a strange phenomenon, such as the DHTML layer display exception like a piece of flash.

Opaque Mode

This is a window-free mode. In this case, flash player does not have its own window handle, which requires the browser to tell the flash player the time and position of rendering the surface of the browser. At this time, the flash film will not be higher than the HTML rendering surface of the browser, but will be on the same page as other elements, therefore, you can use the z-index value to control whether the DHTML elements are flash or hidden.

Transparent Mode

Transparent mode. In this mode, flash player sets the stage background color alpha value to 0 and only draws objects that are truly visible on the stage, similarly, you can use z-index to control the depth of a flash video. However, unlike the Opaque mode, this will reduce the playback effect of the flash video, flash player versions earlier than 9.0.115

 

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.