# Incrementing Instance Names When Duplicating Movie Clips

**URL:** <https://forum.kirupa.com/t/incrementing-instance-names-when-duplicating-movie-clips/268141>\
**Category:** flash\
**Created:** [August 10, 2008, 8:24pm UTC](https://forum.kirupa.com/t/incrementing-instance-names-when-duplicating-movie-clips/268141 "2008-08-10T20:24:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hp\_p00nst3r](https://avatars.discourse-cdn.com/v4/letter/h/aca169/32.png) [@hp\_p00nst3r](https://forum.kirupa.com/u/hp_p00nst3r)\
**Post date:** [August 10, 2008, 8:24pm UTC](https://forum.kirupa.com/t/incrementing-instance-names-when-duplicating-movie-clips/268141/1 "2008-08-10T20:24:24Z")

</div>

Hello,

After reading some stuff on duplicating movie clips with addChild, I am wondering how I am able to do add a number to the end of the created instance. Say I created a movie clip “mc1”, I want to be able to duplicate that and make “mc2”, and “mc3” etc. This way I can access the properties of each created instance. The tutorials I have read don’t seem to touch on this aspect of duplicating movie clips. Much of the example code involves changing the properties of the newly created one. I wish to know how I can increment the names of the movie clips with a number so I can continue to change their properties as I keep duplicating more movie clips.

Thank you, any help is appreciated.
