AS3 mailto
Hi
I'm making a contact form so when you click the submit button it opens up a email window were the subject and message is already fill in because they did it in the contact form. I dont really know which code I should use. I've only gotten this far. The subject and message is textinput and textarea components.
var vEmail:URLRequest = new URLRequest(" mailto:mail@example.com?subject=subjectText&body=bodyText" );
bEmail.addEventListener(MouseEvent.CLICK,fEmailClick);
function fEmailClick(event:MouseEvent):void {
navigateToURL(vEmail," _blank" ) ;
}
