This content has been marked as final. Show 5 replies
well that's not exactly correct, it's not the AS methods that are being blocked, it is the JS call to construct a new window object - we of course trigger this method when using the handlers but it is not the AS that is the cause. But I do agree that in certain situations this may be less user freindly - however a message to the user may be appropriate if there is no other way around the issue for you.
I would recommend though that you consider a work around for this. One example would be the simply construct a viewing window within you flash file and load the content into it with the MovieClipLoader method (or URLLoader if AS3) in fact one could even create a 'pseudo window' that has a frame and everything and simply 'floats' at a higher depth above the rest of the stage content - you could even create a swf just for this purpose and reuse the same one for all loads passing parameters in your call to set up the window. hmmm.... maybe I'll make a component out of that... lol!!
Just thoughts :)
you're too late clb. check your components' panel for the window component.
lmao kg :)
This would provide a reasonable alternative, but the trick in this particular case is that the popup window needs to contain an external web page, so I can't really use the Window component as it can only contain Flash contents.
I'm quite sure that there is a way of creating event handlers without triggering the popup blocker. I'm going to experiment a bit more, and should I find anything I'll post it back here.
Bizarrely, these popups are only blocked when using Firefox 18.104.22.168 with Flash Player 22.214.171.124. When you update to the latest version, 126.96.36.199, the problem does not occur. Weird..but at least it will fix itself once everyone has updated to the latest version.