# setMask and path

**URL:** <https://forum.kirupa.com/t/setmask-and-path/37153>\
**Category:** flash\
**Created:** [December 6, 2003, 1:27pm UTC](https://forum.kirupa.com/t/setmask-and-path/37153 "2003-12-06T13:27:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ubik](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@Ubik](https://forum.kirupa.com/u/Ubik)\
**Post date:** [December 6, 2003, 1:27pm UTC](https://forum.kirupa.com/t/setmask-and-path/37153/1 "2003-12-06T13:27:28Z")

</div>

hello,  
I have a mask that is set by actionscript, the code is :  
[AS]this.setMask(\_root.contenu.photos.mask);  
}[/AS]

But instead of \_root, i’d like to use \_parent because my movie is loaded into another one so i tried  
[AS]this.setMask(\_parent.\_parent.\_parent.mask);  
}[/AS] but it doesn’t work, can someone tell me what is the good target ?  
Thanks !  
Ubik
