# setMask within dynamically loaded movie

**URL:** <https://forum.kirupa.com/t/setmask-within-dynamically-loaded-movie/209785>\
**Category:** flash\
**Created:** [December 12, 2006, 12:45pm UTC](https://forum.kirupa.com/t/setmask-within-dynamically-loaded-movie/209785 "2006-12-12T12:45:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaid\_W1red](https://avatars.discourse-cdn.com/v4/letter/z/cab0a1/32.png) [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)\
**Post date:** [December 12, 2006, 12:45pm UTC](https://forum.kirupa.com/t/setmask-within-dynamically-loaded-movie/209785/1 "2006-12-12T12:45:36Z")

</div>

hey guys,  
IM using setMask on a dynamically created clips within a movie.

‘standalone’ this works fine.

When the above movie is called in dynamically by another movie, the ‘naked’ mask is shown but does not actually maskt he movie clips I have specified:

‘content’ is a movie clip in the parent movie I am loading movies into  
‘store.swd’ is the movie IM loading into content  
with in store.swf is ‘mainmenu\_mc’ and placed above this is my mask, with an instance name ‘menumask’.

I use mainmenu\_mc.setMask(‘menumask’) …works fine in store.swf but not when store.swf is loaded into content.

Anyone have any suggestions?
