salve a tutti,
ho un piccololo problemino..
ho creato un form in flash

inserendo questo script in un frame vuoto
__________________________________________________ _______
stop();
pulsInvio.onRelease = function(){
var sendMail:LoadVars = new LoadVars();
sendMail.nome = Nome.text;
sendMail.cognome = Cognome.text;
sendMail.mittente = Email.text;
sendMail.richiesta = Richiesta.text;
sendMail.destinatario = 'lamiaemail@lamiaemai.it';
sendMail.onLoad = function(success){
if(success){
Nome.text = '';
Cognome.text = '';
Email.text = '';
Richiesta.text = '';
mcMsg.mcTxt.txtMsg.text = this.controllo;
mcMsg.play();
}
}
{
}
sendMail.sendAndLoad('http://link in cui si trova il file php che genera l'email/email.php',sendMail,'POST');

}
</script>
__________________________________________________ _

questo è senza un gruppo radio button
se volessi inserirlo dovrei aggiungere al codice

sendMail.grupporadio = grupporadio.selected;

grupporadio.selected = '';

giusto? forse fin qui si, perchè cliccando sul pulsante che invia i dati al file php che genera l'email, funziona...praticamente mi invia tutti i dati cognome, nome ecc..però il valore del gruppo radiobutton è vuoto e credo che l'errore sia nel file php..

ps.nel gruppo radio button le scelte sono: si e no

il sorgente del file php è questo
Codice PHP:
<?php
$nome 
stripslashes($_POST['nome']);
$cognome stripslashes($_POST['cognome']);
$mittente stripslashes($_POST['mittente']);
$richiesta stripslashes($_POST['richiesta']);
$grupporadio stripslashes($_POST['grupporadio']);


$sms '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Contatti</title>
</head>
<body style="margin:0px;">
<table cellpadding="0" cellspacing="0" style="height:100%;width:500px;">
<tr>
<td style="height:100%;padding:20px;vertical-align:top;">
<table>
<tr><td colspan="2">
[img]Url della mia immagine personalizzata[/img]
</td>
</tr>
<tr><td width="110">[b]Nome:[/b]</td>
<td width="300">'
.$nome.'</td></tr>
<tr>
<td>[b]Cognome:[/b]</td>
<td>'
.$cognome.'</td></tr>
<tr>
<td>[b]E-mail:[/b]</td>
<td>'
.$mittente.'</td></tr>
<tr>
<td>[b]Richiesta:[/b]</td>
<td>'
.$richiesta.'</td></tr>
<tr>
<td>[b]Piace?:[/b]</td>
<td>'
.$grupporadio'</td></tr>
</table></td></tr>
</table>
</body>
</html>'
;
$headers "From: $nome $cognome <$mittente>\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";

if(
mail($_POST['destinatario'], $oggetto$sms$headers)){
echo 
'&controllo=invio avvenuto con successo.';
}
else{
echo 
'&controllo=errore: e-mail non inviata.';
}
?>
c'è qualcuno che sa come posso fare?