Stupid noob girl here, please help with random text from file

Hello everyone! I’m really sorry to bother everyone on here, because I actually don’t know much at all about action script and this Flash, this is like my only ever project and all I need is to have a blank text field and a random button below it that would pull a line of text from like a text file or as I’m starting to learn through searches- an xml file?

I tried to download some ready made files, but I can’t figure any of them out. :frowning:
I have flash cs4 on this computer and I learned some things already, like I know how to make a dynamic text box and how to make a button instance and give them names. I have done this, but all the examples I found, I just can’t understand what is what and where. My text box is called- “text” and my button is called “text button” I understand I need to attach the code to the button, but which code I don’t know.

Can anyone please help me with this? I would be super grateful for this. I’m trying to make a random name picker for all my class mates.
Thank you for reading this and thank you for your help in advance!!!