# Flash MX form to PHP file

**URL:** <https://forum.kirupa.com/t/flash-mx-form-to-php-file/106084>\
**Category:** Uncategorized\
**Created:** [April 1, 2004, 6:46pm UTC](https://forum.kirupa.com/t/flash-mx-form-to-php-file/106084 "2004-04-01T18:46:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![civic3x98](https://avatars.discourse-cdn.com/v4/letter/c/bbce88/32.png) [@civic3x98](https://forum.kirupa.com/u/civic3x98)\
**Post date:** [April 1, 2004, 6:46pm UTC](https://forum.kirupa.com/t/flash-mx-form-to-php-file/106084/1 "2004-04-01T18:46:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2004, 12:43pm UTC](https://forum.kirupa.com/t/flash-mx-form-to-php-file/106084/2 "2004-04-08T12:43:39Z")

</div>


