Ciao.. secondo me così dovrebbe andare
Codice PHP:
stop();
//
pulsInvio.onRelease = function(){
if(Nome.text=="" || Cognome.text="" ){ //da modificare in base alle tue esigenze
_level0.gotoAndStop("framechevuoitu") //io ho supposto _level0 ma può essere qualsiasi altro mc
}else{
var sendMail:LoadVars = new LoadVars();
sendMail.nome = Nome.text;
sendMail.cognome = Cognome.text;
sendMail.mittente = Email.text;
sendMail.richiesta = Richiesta.text;
sendMail.destinatario = 'MIA EMAIL';
sendMail.onLoad = function(success){
if(success){
gotoAndStop(2);
mcMsg.mcTxt.txtMsg.text = this.controllo;
mcMsg.play();
}
}
sendMail.sendAndLoad('http://www.XXX.com/email.php', sendMail, 'POST');
}
}