# Button duplication with individual names from a text doc

**URL:** <https://forum.kirupa.com/t/button-duplication-with-individual-names-from-a-text-doc/195080>\
**Category:** Uncategorized\
**Created:** [July 28, 2006, 8:39am UTC](https://forum.kirupa.com/t/button-duplication-with-individual-names-from-a-text-doc/195080 "2006-07-28T08:39:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![watch\_this\_glow](https://avatars.discourse-cdn.com/v4/letter/w/8edcca/32.png) [@watch\_this\_glow](https://forum.kirupa.com/u/watch_this_glow)\
**Post date:** [July 28, 2006, 8:39am UTC](https://forum.kirupa.com/t/button-duplication-with-individual-names-from-a-text-doc/195080/1 "2006-07-28T08:39:29Z")

</div>

[FONT=Century Gothic]I was wondering if you could spare two minutes of your time and help me with a actionscript issue I have on a flash site that I’m currently working on. I have attached the FLA for the file in question, along with some added files (zipped).[/FONT]

[FONT=Century Gothic]The aim for the buttons is to have them duplicate, and obtain labels from a text document. I am working on the ‘A’ names in a list of over a thousand from A to Z.[/FONT]

[FONT=Century Gothic]The duplication script seems to be working fine but I cannot seem to get the labels (‘thetext’ variable) to work via text documents - either separate, or ideally one single document (I believe there is a way of calling up loaded text documents line-by-line?).[/FONT]

[FONT=Century Gothic]I have taken out my attempts to leave you with a ‘clean slate’, with the aforementioned duplication function in working order.[/FONT]

[[FONT=Century Gothic]here\_is\_the\_FLA[/FONT]](http://www.strobemobile.com/fla.zip) :glasses:
