Symmetri Developer Blog

January 15, 2008

Flash can’t window.open in Safari

General - By Shourov Bhattacharya

I am trying to open a new browser window from an embedded Flash application, calling window.open using ExternalInterface. Simple enough, except that it doesn’t work in Safari. After a little while tearing my hair out, I found out that it’s a Safari bug - popups are blocked in this case, even though the Flash is responding to a user initiated event. But I found a lovely, easy solution here - go back to the Flash and use flash.net.navigateToUrl.

3 Comments »

  1. ‘tearing my hair out’… lol!

    Comment by bd — January 27, 2008 @ 12:09 am

  2. Ok, not literally :)

    Comment by Shourov Bhattacharya — January 27, 2008 @ 4:57 am

  3. Thank you so much this help!

    Comment by bone — December 10, 2008 @ 11:24 pm

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Janis Joseph