# A follow mouse mask

**URL:** <https://forum.kirupa.com/t/a-follow-mouse-mask/10390>\
**Category:** Uncategorized\
**Created:** [December 31, 2002, 2:25am UTC](https://forum.kirupa.com/t/a-follow-mouse-mask/10390 "2002-12-31T02:25:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j0ng](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@j0ng](https://forum.kirupa.com/u/j0ng)\
**Post date:** [December 31, 2002, 2:25am UTC](https://forum.kirupa.com/t/a-follow-mouse-mask/10390/1 "2002-12-31T02:25:59Z")

</div>

okae. so there’s this mask i’m making? and i cant get the object on the mask layer to move. i’ve tried

startDrag (“drag”, true);

and even

onClipEvent (mouseMove) {  
setProperty (this, \_y, \_root.\_ymouse);  
updateAfterEvent(mouseMove);  
}

but it still duzan seem to work. is it my flash? or isit something of flash’s dat disallow movement on the masking layer? the latter seems to be the case, so any solutions?

\< figured u guys might not understand so okae. my flash has 3 layers the first one is a long rectangle (the mask which i try to move following my mouse) 2nd is the masked layer of a coloured picture and the 3rd is one with the same picture as the second, but only its black and white. yea\> help pls

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 31, 2002, 9:05pm UTC](https://forum.kirupa.com/t/a-follow-mouse-mask/10390/2 "2002-12-31T21:05:52Z")

</div>

get yourself Flash MX and there won’t be any problems with masking!:beam:  
Flash 5 won’t let ya drag masks!  
But there is a way to drag a mask in Flash 5!  
[Mask dragging in F5](http://www.kirupa.com/developer/flash5/draggingmask.asp)  
It’s a bit confusing at start but actually it’s very logical!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 1, 2003, 4:14am UTC](https://forum.kirupa.com/t/a-follow-mouse-mask/10390/3 "2003-01-01T04:14:31Z")

</div>

aw dang… my mx is screwed up ☹ thX aniwae
