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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to