# How can I add Children to MovieClip by simple way

**URL:** https://forum.kirupa.com/t/how-can-i-add-children-to-movieclip-by-simple-way/302417
**Category:** Uncategorized
**Created:** [December 30, 2009, 3:41am UTC](https://forum.kirupa.com/t/how-can-i-add-children-to-movieclip-by-simple-way/302417 "2009-12-30T03:41:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aliao](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@aliao](https://forum.kirupa.com/u/aliao)
#### Post date: [December 30, 2009, 3:41am UTC](https://forum.kirupa.com/t/how-can-i-add-children-to-movieclip-by-simple-way/302417/1 "2009-12-30T03:41:38Z")

</div>

I have some components in the library being exported to actionscript, and I add them to MovieClip,like this:

var imgs01:ImgShow01=new ImgShow01 ;  
var imgs02:ImgShow02=new ImgShow02 ;  
var imgs03:ImgShow03=new ImgShow03 ;  
var imgs04:ImgShow04=new ImgShow04 ;  
var imgs05:ImgShow05=new ImgShow05 ;  
var imgs06:ImgShow06=new ImgShow06 ;

this.addChild(imgs01);  
this.addChild(imgs02);  
this.addChild(imgs03);  
this.addChild(imgs04);  
this.addChild(imgs05);  
this.addChild(imgs06);  
I want to know another simple way to do that in AS3 ?  
Thanks in advance for your help!
