# Referencing dynamically created MovieClips

**URL:** <https://forum.kirupa.com/t/referencing-dynamically-created-movieclips/268866>\
**Category:** flash\
**Created:** [August 19, 2008, 8:31pm UTC](https://forum.kirupa.com/t/referencing-dynamically-created-movieclips/268866 "2008-08-19T20:31:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamtunbo](https://avatars.discourse-cdn.com/v4/letter/y/ecccb3/32.png) [@yamtunbo](https://forum.kirupa.com/u/yamtunbo)\
**Post date:** [August 19, 2008, 8:31pm UTC](https://forum.kirupa.com/t/referencing-dynamically-created-movieclips/268866/1 "2008-08-19T20:31:59Z")

</div>

Hello and sorry for asking what is a horribly naive question, but I’m very new to ActionScript 3 and not really a coder. Any help is greatly appreciated! :hugegrin:

So, if I did something like this:

```auto

for (var i:uint=0; i<10; i++)
{
    var image:MovieClip = new MovieClip();
    this.addChild(image);
}

```

Am I right in thinking that I just dynamically created 10 MovieClips and added them to the stage?

And if that is correct, how do I then reference each of those MovieClips, so that I can do stuff like load images into them and find out how wide they are etcetera?

Many thanks!

Chris
