Ask a Murloc: Flex email link
I was asked the Flex equivalent to <a href="mailto:..."> in Flex. Mailto is just another protocol, like http and ftp, so can be opened the same way as if you were going to load up an external site from Flex.
var url:String = "mailto://" + email;
var webPageURL:URLRequest = new URLRequest( url );
navigateToURL(webPageURL,"_self");
}
This opens the user's default mail client. The "_self" keeps it from opening another window/tab.


There are no comments for this entry.
[Add Comment]