# Create movie clips with loop

**URL:** <https://forum.kirupa.com/t/create-movie-clips-with-loop/313824>\
**Category:** flash\
**Created:** [September 10, 2010, 5:46pm UTC](https://forum.kirupa.com/t/create-movie-clips-with-loop/313824 "2010-09-10T17:46:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![walker6o9](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@walker6o9](https://forum.kirupa.com/u/walker6o9)\
**Post date:** [September 10, 2010, 5:46pm UTC](https://forum.kirupa.com/t/create-movie-clips-with-loop/313824/1 "2010-09-10T17:46:25Z")

</div>

So basically, this is how I’m adding one movie clip to the stage.

var balloon\_mc1 = new balloon();  
this.addChild(balloon\_mc1);

How do I do this for 100 of these movie clips, without typing  
var balloon\_mc1 = new balloon();  
this.addChild(balloon\_mc1);

var balloon\_mc2 = new balloon();  
this.addChild(balloon\_mc2);

var balloon\_mc3 = new balloon();  
this.addChild(balloon\_mc3);

etc, etc
