Answered Flash: Fullscreen > Click-outs blocked by pop-up blocker

  • Monday, July 02, 2012 11:43 AM
     
     
    We are noticing that fullscreen Flash content is not able to click-out properly in Internet Explorer 8,9. Clicks are blocked by the pop-up blocker.
    The click-out methodology we're using is currently, to our best knowledge, consistent with best practices for IE + Flash—using `ExternInterface.call('window.open' ... )` as a first attempt, then falling back to using Flash's built-in AS3 `navigateToURL(...)`.
    The above sequence works exactly as expected with "normal"—non-fullscreen—Flash content. However, the pop-up blocking is occurring whenever attempting to click-out from Flash while in fullscreen mode.
    Has a previous bug been filed on this behavior? Is it expected or a bug? Happy to direct our request to the appropriate place, but had a tough time finding anything related.
    Thanks a lot.

All Replies

  • Tuesday, July 03, 2012 12:59 AM
     
     Answered

    Hi,

    this forum is for questions about html, css and scripting. It is helpful if you povide a link to your website or a publicly accessible mashup with your question.

    ensure you are accepting the default IE security zone settings... Tools>Internet Options>Security tab, click "reset all zones to default" as the IE popup blocker behavior is also determined by the security zone that the domain is mapped to...and scripted windows (window.open) are also affected by security zone settings.

    Third party popup blockers such as the Google toolbar are not needed and can interfeer with the default behavior of the IE popup blocker.

    many third party Flash 'players' include a full screen button to display the flash player in a frameless modal window which is different from a scripted window (window.open)...

    MSIE browsers use the <object> tag to host flash content while others use the <embed> tag.. which means that quite often UAS sniffing is used to determine how the hosted <object> or <embed> tag is scripted... good programming practices advise not to use UAS sniffing.

    To debug you issue.. display the Developer tool (when the opened flash window is displayed) , then the Script tab and place a breakpoint in the body onunload event handler. click the 'Start debugging' button and then step through the unload event handler when the breakpoint is encountered.

    To avoid issues with popup blockers you should place your window.open statements within try,catch blocks. eg.

    try{var newwin=window.open('google.analytics.com','_blank');}

    catch(e){alert('your browser popup blocker is turned on');}


    Rob^_^