Textboxes in actionscript/flash

Hi all,

I have created some input boxes on a movie clip in my flash cs5 library and i am wanting to get the values of the text when the movie is ran i can get the text that has been entered inside these input boxes to a buttion which on this buttion i am wanting to get the value

basically i am wanting this function

1.User plays movie
2.User gets the flash form loaded
3.User enters information of the 6 input fields
4. when user enters the buttion user gets to see the values from the input fields that was entered from the buttion above.

but how can i do that i know in php i can do somthing like


i know i can create the actual textbox within the actionscript but what if i created the textbox within flash/movieclip??