# Dynamic mc names

**URL:** <https://forum.kirupa.com/t/dynamic-mc-names/298563>\
**Category:** Uncategorized\
**Created:** [October 21, 2009, 5:12am UTC](https://forum.kirupa.com/t/dynamic-mc-names/298563 "2009-10-21T05:12:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrpercival](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mrpercival](https://forum.kirupa.com/u/mrpercival)\
**Post date:** [October 21, 2009, 5:12am UTC](https://forum.kirupa.com/t/dynamic-mc-names/298563/1 "2009-10-21T05:12:21Z")

</div>

Is it possible to create mc’s with dynamic names in AS3?

what im trying to do is have a FOR loop create some mc’s, since the number of mcs that need creating will change, i need a way to create any number of mcs and name them.

eg

```auto

var holder + Ticker:MovieClip = new MovieClip();
holder + Ticker.graphics.beginFill(0xff0000);
holder + Ticker.graphics.drawRect(0, 0, 180, 120);
holder + Ticker.graphics.endFill();
holder + Ticker.x = 210;
holder + Ticker.y = 0;
addChild(holder + Ticker);	
Ticker++

```

clearly my code there doesnt work but how can i create multiple mcs so that the names of them are like

holder1  
holder2 etc etc

hope this makes sense
