How can I use Flash to display dynam data?

Right
I am creating a flash movie whereby all the data is read from mySQL using PHP. This is my dilemma:

I want to allow the user to update data thru a separate little interface. So, how can i make sure that ALL the data will be displayed completely within the textbox? Basically, how can i tell flash that if the data is too long, go to a new frame and create another textbox to accommodate the remaining text. Does this make sense? How can i do this?

Thanks for any help!