# \[AS3\]Dynamic Sprite Names

**URL:** <https://forum.kirupa.com/t/as3-dynamic-sprite-names/208299>\
**Category:** flash\
**Created:** [November 27, 2006, 1:17pm UTC](https://forum.kirupa.com/t/as3-dynamic-sprite-names/208299 "2006-11-27T13:17:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mad\_man](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mad\_man](https://forum.kirupa.com/u/mad_man)\
**Post date:** [November 27, 2006, 1:17pm UTC](https://forum.kirupa.com/t/as3-dynamic-sprite-names/208299/1 "2006-11-27T13:17:34Z")

</div>

Is it possible to have dynamic sprite names? For example if I am constructing a tile map from an array how can i give each sprite object a different name and referense it later?

in actionscript you could just do  
attachMovieClip(“blah”+i+"\_"+j…  
and reference it with root[name]

how could I achieve this with actionscript 3?
