import flash.net.*;
private function checkEmail():void
{
if(data.email.length > 0)
{
emailButton.visible = true;
}
}
public function sendMail():void {
var u:URLRequest = new URLRequest("mailto:" + data.email);
navigateToURL(u,"_self");
}