# Correct syntax to addChild() using Array index

**URL:** <https://forum.kirupa.com/t/correct-syntax-to-addchild-using-array-index/293341>\
**Category:** Uncategorized\
**Created:** [July 27, 2009, 6:26pm UTC](https://forum.kirupa.com/t/correct-syntax-to-addchild-using-array-index/293341 "2009-07-27T18:26:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![screeg](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@screeg](https://forum.kirupa.com/u/screeg)\
**Post date:** [July 27, 2009, 6:26pm UTC](https://forum.kirupa.com/t/correct-syntax-to-addchild-using-array-index/293341/1 "2009-07-27T18:26:20Z")

</div>

I’m using **addChild(new nmonster())** to populate an on stage MC from my Library.

Instead of specifying the Symbol, I want to add it using an Array reference, like **addChild(new [U]monsterArray[0]/U)**. I’ve tried a number of variations, but AS3.0 is unforgiving.

Is this possible?
