Flash MX form to PHP file

I have a page that uses a flash MX form, which allows the user to input the username and password. User clicks the submit button (still in flash), and the values that were entered into the u/p input fields is passed to a PHP script. I cant seem to get the code on flas right. When i hit the submit button, nothing happens. I have the username input field instance named ‘usernm’ and the password input field instance named ‘passwd’. for tge submit button i have this code.

on (release) {
formdata= new loadVariables();
formdata.textfielddata1=usernm.text;
formdata.textfielddata=passwd.text;

formdata.send("cusLogin/cusLogin.php","_self","POST");

// submit the data to PHP script using POST

// _root.loadVariables(“cusLogin/cusLogin.php”, _level0, “POST”);
}

Im kinda lost if someone can give me a hand… thanks