# Reference a duplicate mc

**URL:** <https://forum.kirupa.com/t/reference-a-duplicate-mc/171944>\
**Category:** Uncategorized\
**Created:** [December 9, 2005, 1:40pm UTC](https://forum.kirupa.com/t/reference-a-duplicate-mc/171944 "2005-12-09T13:40:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thewebgremlin](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@thewebgremlin](https://forum.kirupa.com/u/thewebgremlin)\
**Post date:** [December 9, 2005, 1:40pm UTC](https://forum.kirupa.com/t/reference-a-duplicate-mc/171944/1 "2005-12-09T13:40:06Z")

</div>

hi there,

i have the followinf code, you can see what i amtrying to do, but this isnt correct.

what is

```auto
 
//thumb is an array of thiumbnail pics
 
for (i=0; i<thumb.length; i++) {
  thumbcontainer.duplicateMovieClip("thumb"+i,i,{_x:xPos, _y:yPos, _alpha:0,_visible:true});
  xPos = xPos + ImageWidth + hSpace;//create the new position of next MC
  yPos = xPos + ImageHeight + vSpace;
["thumb"+i]loadMovie(thumb*, 1); } 

```

how do i reference the newly created movie clip to load it with the jpg

thanks in advance

jamie
