# Depth mask?

**URL:** <https://forum.kirupa.com/t/depth-mask/233428>\
**Category:** Uncategorized\
**Created:** [July 23, 2007, 10:43pm UTC](https://forum.kirupa.com/t/depth-mask/233428 "2007-07-23T22:43:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![modulater](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@modulater](https://forum.kirupa.com/u/modulater)\
**Post date:** [July 23, 2007, 10:43pm UTC](https://forum.kirupa.com/t/depth-mask/233428/1 "2007-07-23T22:43:11Z")

</div>

Hi there,

I can’t seem to figure out how to make my mask actualy mask the holder I have beneeth it’s layer (thumbnail\_mc)

this code is used for the holder that loads my thumbs.(see below)  
the mask is a layer above thumbnail\_mc. How script this mask so that it is masking the thumbnail\_mc holder. thx in advance. Grtz  
thumbnail\_mc.swapDepths(thumbnail\_mc.\_parent.getNextHighestDepth());  
thumbnail\_mc.createEmptyMovieClip(“t”+j, thumbnail\_mc.getNextHighestDepth(1001+k));

thumbnail\_mc.createEmptyMovieClip(“t”+k, thumbnail\_mc.getNextHighestDepth());
