I'll try to translate a post by jls666 in http://scriptbrasil.com.br/forum/index.php...php\+flash the question was how to send mail integrating php and flash, but it can be used to any kind of application. You have two options: first: you can use the php mailto function:... on (release) {
getURL("mailto:email@server.com.br");
}
second: you can use dynamic page (like php, asp or cold fusion)
here is an exemple using php:
<?
$to = "user@domain.com";
$subject = "Only testing";
$head = "MIME-Version: 1.0\n";
$head .= "Content-type: text/html; charset=iso-8859-1 \n";
$head .= "From: <$email_destino> \n";
$head .= "Reply-To: <$email_destino> \n";
$body = "$anything";
$body = wordwrap($body, 72);
mail($to, $subject, $body, $head) or die ("Error while trying to send message");
echo "Your message was successfully sent";
?>
Finally, on flash button, use the following code
on (release) {
getURL("mail.php", "", "POST");
}
----------------------------------- I hope I've helped you.