Can anyone tell me why this triggers the IE7 popup blocker?

Was supplied to me in a banner from a client and was surprised by the
behavior. 

--------------------------------------------------

Stage.addEventListener(MouseEvent.CLICK, reportClick);

function reportClick (myevent:MouseEvent):void {
        trace("click!");

        
        var url:String = "http://foo.com/click.asp?g=24&b=256";;
        var request:URLRequest = new URLRequest(url);
        try {
          navigateToURL(request, "_blank"); // second argument is target
        } catch (e:Error) {
          trace("Error occurred!");
        }
};
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to