Flash MX NewB question re: text fields

Hello,
Can anyone PLEASE either steer me to a tutorial or perhaps explain how to do this. I’m working on a flash page that I need to assign values to 2 text fields and a button. The fields are for username and password and a go button. It will pass the information to a php script.

I know how to do this and have it working with html but I need to make it work with the flash page. I made the 2 fields and the button. How do I assign the values.

The html code I have is . . .

<form action=“http://mydomain.com/phpgdv2/index.php” method=POST name=theform>
<table border=0>
<tr><td colspan=2> Please log in below.
</td></tr>
<tr>
<td class=sectiondesc>
Username
</td>
<td>
<input type=text name=username size=20 class=inputfield>
</td>
</tr>
<tr>
<td class=sectiondesc>
Password
</td>
<td>
<input type=password name=passwd size=20 class=inputfield>
</td>
</tr>
<tr>
<td> </td>
<td>
<input type=submit name=_phpguarddoglogbut value=Submit>
</td>
</tr>
</table>
<script language=JAVASCRIPT>
document.theform.username.focus();
</script>
<input type=hidden name=_phpguarddogaction value=login>
</form>

In advance I thank you for your assistance.
Best Regards,
BassSolo -