Flash email form undefined

I have a flash contact form and it works fine when I am testing it in flash, but when I try it on the net, the onLoad gives me undefined. Any ideas? here is my AS and PHP:


var dataOut:LoadVars = new LoadVars();
var dataIn:LoadVars = new LoadVars();
dataIn.onLoad = function() {
    var responsetext = this.msgText;
    errorbox.text = responsetext;
};

sendbtn.onRelease = function() {
    checkFields();
};

function checkFields() {
    if (namebox.text == "" || emailbox.text == "" || msgbox.text == "") {
        errorbox.text = "Please fill in all fields.";
    } else {
        dataOut.nametxt = namebox.text;
        dataOut.emailtxt = emailbox.text;
        dataOut.msgText = msgbox.text;
        dataOut.sendAndLoad("http://ostari.com/ronnie/point1/contact.php",dataIn,"POST");
    }
}

my php:


<?
foreach ($_REQUEST as $key => $value)
    {
$content .= "$value
";    
    }
$result = mail("ronnie@dop.com","Msg from pointOneMusic.com",$content);
if ($result) 
   {
   echo "&msgText=success";
   }
else
   {
   echo "&msgText=failed";  
   }    
?>

So like I said…All is good when I test it in flash( i even receive the email), but on the net it returns undefined and no email :frowning: