# Adding multiple instances of a movieclip to stage

**URL:** <https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032>\
**Category:** flash\
**Created:** [December 20, 2008, 4:05pm UTC](https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032 "2008-12-20T16:05:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobcooper](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@bobcooper](https://forum.kirupa.com/u/bobcooper)\
**Post date:** [December 20, 2008, 4:05pm UTC](https://forum.kirupa.com/t/adding-multiple-instances-of-a-movieclip-to-stage/278032/1 "2008-12-20T16:05:10Z")

</div>

Hi there,

Still in the process of learning AS3 and was wondering how to attach multiple instances of a movieclip to the stage. In AS2 I would do the following:

```auto
for(var i = 1; i <= 10; i++){
attachMovie("myMovie", "myMovie" + i, i);
}

```

but I can’t figure out how to do this with AS3.

Any ideas?

Bob
