# Flash MX NewB question re: text fields

**URL:** https://forum.kirupa.com/t/flash-mx-newb-question-re-text-fields/79943
**Category:** flash
**Created:** [February 18, 2005, 3:15am UTC](https://forum.kirupa.com/t/flash-mx-newb-question-re-text-fields/79943 "2005-02-18T03:15:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![basssolo4u](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@basssolo4u](https://forum.kirupa.com/u/basssolo4u)
#### Post date: [February 18, 2005, 3:15am UTC](https://forum.kirupa.com/t/flash-mx-newb-question-re-text-fields/79943/1 "2005-02-18T03:15:36Z")

</div>

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](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\>&nbsp;\</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 -
