had somewhat the same problem, used as below to fix. //SET THE MAILTO ADDRESS var emailLink1:String = "mailto:oooo...@ioooo.com"; //ADD EVENT LISTENER FOR EMAIL LINK mailtoLink1.addEventListener(MouseEvent.MOUSE_DOWN,function():void { navigateToURL(new URLRequest(emailLink1), "_self");} );
On Apr 25, 2011, at 1:07 PM, Steve Abaffy wrote: > I have the following code, and in IE8, IE9, Chrome when the email link > button is pressed, it opens the client email as expected but it also opens a > new page that says "Navigation Cancelled" in Firefox it works without > opening the extra page. > > > > How do I make it stop doing that. > > function SendRepEmail(e:MouseEvent): void{ > > var url:String = "mailto:" + e.target.RepEmailText.text; > > var request:URLRequest = new URLRequest(url); // Also tried var > request:URLRequest = new URLRequest(url,"_blank' ); with the same result > > try { > > navigateToURL(request); > > } catch (e:Error) { > > //Do Nothing > > } > > } > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders DON TALCOTT 316 Greenwood Avenue Decatur, Georgia 30030 404.538.1642 dtalc...@mindspring.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders