Question
How to prevent blocking of popups
Since a recent Firefox update I've noticed that the included
popup blocker is now doing its job a little too well. It now blocks
all popups that are launched from my SWF. Of course you can still
get to the new window by selecting "allow for this website", but
this is not very user-friendly.
I think that Firefox blocks all popups unless it thinks that they are a direct result of a mouse click. When you make an event handler with on (release) { } and launch the new window from there, it will not be blocked. However, when you dynamically create that event handler, by declaring <myMovieClip>.onRelease=function() { } somewhere midway, it will be blocked. I've tried to avoid this by calling a JavaScript function which in turn opens the popup, which also doesn't give the intended result.
Obviously the popup blocker is just doing its job, but in this case I just want to have some way to create a new window from a MovieClip, and have it not blocked.
I think that Firefox blocks all popups unless it thinks that they are a direct result of a mouse click. When you make an event handler with on (release) { } and launch the new window from there, it will not be blocked. However, when you dynamically create that event handler, by declaring <myMovieClip>.onRelease=function() { } somewhere midway, it will be blocked. I've tried to avoid this by calling a JavaScript function which in turn opens the popup, which also doesn't give the intended result.
Obviously the popup blocker is just doing its job, but in this case I just want to have some way to create a new window from a MovieClip, and have it not blocked.
