# Unique MC name?

**URL:** <https://forum.kirupa.com/t/unique-mc-name/283049>\
**Category:** flash\
**Created:** [March 2, 2009, 3:47am UTC](https://forum.kirupa.com/t/unique-mc-name/283049 "2009-03-02T03:47:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michdd](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@michdd](https://forum.kirupa.com/u/michdd)\
**Post date:** [March 2, 2009, 3:47am UTC](https://forum.kirupa.com/t/unique-mc-name/283049/1 "2009-03-02T03:47:24Z")

</div>

I have some code like this:

```auto

mapW = curMap[0].length;
mapH = curMap.length;	
for (var yt:int = 0; yt < mapH; yt++) {
	for (var xt:int = 0; xt < mapW; xt++) {
					
	}
}

```

Instead of both of those for statements I have to create new movieClips for each value within the multidimensional array, what would be the best method for getting the unique names for all the movieClips that will be made?
