# Placing empty MC in a holder

**URL:** https://forum.kirupa.com/t/placing-empty-mc-in-a-holder/256596
**Category:** Uncategorized
**Created:** [April 4, 2008, 11:41am UTC](https://forum.kirupa.com/t/placing-empty-mc-in-a-holder/256596 "2008-04-04T11:41:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wduyzer](https://avatars.discourse-cdn.com/v4/letter/w/8797f3/32.png) [@wduyzer](https://forum.kirupa.com/u/wduyzer)
#### Post date: [April 4, 2008, 11:41am UTC](https://forum.kirupa.com/t/placing-empty-mc-in-a-holder/256596/1 "2008-04-04T11:41:44Z")

</div>

Hey,

I’m working on the Kirupa photo gallery and that works fine. Now I want to change how the thumbnails are loaded in. I would like them to be loaded in a holder (now in an emptyMC) so that I can put a mask/ border on it.

This is the thumbnail function:

```auto
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k,thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {

target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};

target_mc.onRollOver = function() {
this.colorTo(0xf8ee08,1,"easeOutQuint");
thumbNailScroller();
};

target_mc.onRollOut = function() {
this.colorTo(normal, 1,"easeOutQuint");
};

};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k],"thumbnail_mc.t"+k);
}

```

Any ideas how i can do this?

Thanks!  
Will
