Hi Dan,

Firefox blocks popups that aren't user-generated.
Firefox's blocker only opens popups that tries to open on a onRelease event.
So not automatic not onPress. Only onRelease

/ Viktor H

On Fri, 30 May 2008 00:09:42 +0200, Dan Wade <[EMAIL PROTECTED]> wrote:

Turning on popup blocker shouldn't block user initiated clicks that call a
js function to open a new window. Or, popup blocker should allow for a
simple getURL("url", "_blank"). I'm finding these calls are being blocked
some cases in Firefox on PC's with flash player 9.

-d


On 5/28/08 4:46 PM, "Robert Leisle" <[EMAIL PROTECTED]> wrote:

This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice
to block or not, or to white-list your popups. I recommend allowing them
that choice.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Wade
Sent: Wednesday, May 28, 2008 4:22 PM
To: Flash Coders List
Subject: [Flashcoders] Firefox popup blocker and flash 9

I'm having problems with Fireox blocking my popup windows. I've tried
everything I can think of. It seems to happen on Windows running Firefox but
I can't replicate the issue on all machines I've tested(it works on most
machines but not all).

Here is the class I'm using:

package {

    import flash.external.ExternalInterface;

    public class URLUtil    {

        protected static const WINDOW_OPEN_FUNCTION : String =
"window.open";

public static function openWindow(url : String, window : String =
"_blank", features : String = "") : void {
            ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window,
features);
        }

    }

}


//being called this way
function recholder1Release(event:MouseEvent) {
    URLUtil.openWindow(res1link);
}


Any ideas?

TIA,

-D

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to