# Attaching buttons and actions to duplicated movie clips

**URL:** <https://forum.kirupa.com/t/attaching-buttons-and-actions-to-duplicated-movie-clips/86112>\
**Category:** flash\
**Created:** [April 10, 2005, 8:05am UTC](https://forum.kirupa.com/t/attaching-buttons-and-actions-to-duplicated-movie-clips/86112 "2005-04-10T08:05:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mobcar\_media](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@mobcar\_media](https://forum.kirupa.com/u/mobcar_media)\
**Post date:** [April 10, 2005, 8:05am UTC](https://forum.kirupa.com/t/attaching-buttons-and-actions-to-duplicated-movie-clips/86112/1 "2005-04-10T08:05:30Z")

</div>

Are there any tutorials or tips related to this?

I’m reading in an XML file with URLs, information, etc. for a number of different items into an array. I’d like to dynamically duplicate buttons for the number of items in the array and then attach the XML information in the array to getURLs within a button, dynamic text on the button, etc.

I know this isn’t too hard, but I haven’t been sucessful so far in getting it to work right.

I’d post code, but I got so frustrated last time I trashed the whole thing.
