Flash UI Components

Hello All, I am still learning ActionScript 3.0 but i feel i am genuinely improving all the time.

Anyhow, i need a little bit of help. I am building a small basic chat app. I have a button component, a text input component and a text area component on the stage.

I want my users to type and edit their message in the text input area and when they click the send button their message will be moved from the ~TextInput and displayed inside the text area.

Does anyone know how i can do this?
Thanks.