import flash.net.*; public function sendMail(e:Event):void { var u:URLRequest = new URLRequest("mailto:" + ti1.text); navigateToURL(u,"_self"); }