Skip to main content
Inspiring
September 7, 2009
Question

one more question about navigateToURL and popups

  • September 7, 2009
  • 1 reply
  • 1885 views

hi,

if i understand correctly, then the blocking of opening a new (_new/_blank) window with navigateToURL() is a correct behaviour of the browser...

on the other hand, it opens the window without problems when using the suggested workaround with ExternalInterface and window.open.

why doesnt the browser also block the window.open??

if the browser doesnt know if the request is because a user clicked a button - and since flash is a plugin the browser doesnt know, why it allows window.open?

thanks

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 7, 2009

you have a faulty popup blocker if your browser's working that way.  your blocker should allow popups generated by mouse clicks (inside or outside of flash) whether using javascript or not to open a popup and otherwise disallow popups.

marcinkAuthor
Inspiring
September 7, 2009

have you tried a search in this forum for navigateToURL and popup?

it is an issue, and today i run into it myself. thats why i came here in the first place.

i cannot tell what is the cause of it, but when i clicked on the banner i made, ie blocked it. running a google search on this i found lots of users with the same problem.

after reading some postings in this forum, i still dont know the reson for this behaviour, but this post sounds reasonably to me.

http://forums.adobe.com/message/113862#113862 but it doesnt explain my question... i also think it happens only, when the swf is hosted on a different domain as the page itself - what usually happens with banners hosted on an adserver.

so i dont think its a faulty popup blocker.

marcinkAuthor
Inspiring
September 8, 2009
i also think it happens only, when the swf is hosted on a different domain as the page itself

well this was wrong.

i post a test case. the right banner is using navigateToURL(); - please view this with ie, since ff is ok.