# Addressing duplicated movieclips

**URL:** https://forum.kirupa.com/t/addressing-duplicated-movieclips/170286
**Category:** flash
**Created:** [November 24, 2005, 11:51am UTC](https://forum.kirupa.com/t/addressing-duplicated-movieclips/170286 "2005-11-24T11:51:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Phat7](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@Phat7](https://forum.kirupa.com/u/Phat7)
#### Post date: [November 24, 2005, 11:51am UTC](https://forum.kirupa.com/t/addressing-duplicated-movieclips/170286/1 "2005-11-24T11:51:36Z")

</div>

Is there (or what is the) best method to address duplicated movieclips?

For example if you duplicate a number of movieclips (or attach or anything else) through a [FONT=Courier New][COLOR=Magenta]for[/COLOR][/FONT] loop and give them names like [FONT=Courier New][COLOR=Magenta]mc1, mc2[/COLOR][/FONT], etc, how can you address them outside the loop? Especially if the number of times you duplicate the clips is read from a file which can change constantly.

Example - an image gallery where you just add the files to your xml and they show up in the gallery.
