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

**URL:** <https://forum.kirupa.com/t/stupid-noob-girl-here-please-help-with-random-text-from-file/330292>\
**Category:** flash\
**Created:** [December 26, 2012, 10:43pm UTC](https://forum.kirupa.com/t/stupid-noob-girl-here-please-help-with-random-text-from-file/330292 "2012-12-26T22:43:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichelleMowler](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@MichelleMowler](https://forum.kirupa.com/u/MichelleMowler)\
**Post date:** [December 26, 2012, 10:43pm UTC](https://forum.kirupa.com/t/stupid-noob-girl-here-please-help-with-random-text-from-file/330292/1 "2012-12-26T22:43:24Z")

</div>

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. ☹  
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!!!
