# addChild(\["something"+likethis\])

**URL:** <https://forum.kirupa.com/t/addchild-something-likethis/318939>\
**Category:** flash\
**Created:** [February 3, 2011, 10:47pm UTC](https://forum.kirupa.com/t/addchild-something-likethis/318939 "2011-02-03T22:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScarsOfDracula](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@ScarsOfDracula](https://forum.kirupa.com/u/ScarsOfDracula)\
**Post date:** [February 3, 2011, 10:47pm UTC](https://forum.kirupa.com/t/addchild-something-likethis/318939/1 "2011-02-03T22:47:15Z")

</div>

I can’t figure out what I’m missing. I want to add children from the library that are named something like b1, b2, b3 etc. I’d like to add a numeric var to the name so that I can randomly or incrementally reference them. I can’t seem to get the syntax/implementation right. Can anyone help?

//like this…  
var b1:bullet1 = new bullet1 ;  
var numnum:Number = 1;  
addChild([“b”+numnum]);
