# Masking...Please Help Me

**URL:** <https://forum.kirupa.com/t/masking-please-help-me/107111>\
**Category:** Uncategorized\
**Created:** [April 12, 2004, 1:54pm UTC](https://forum.kirupa.com/t/masking-please-help-me/107111 "2004-04-12T13:54:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stereosilence](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@stereosilence](https://forum.kirupa.com/u/stereosilence)\
**Post date:** [April 12, 2004, 1:54pm UTC](https://forum.kirupa.com/t/masking-please-help-me/107111/1 "2004-04-12T13:54:44Z")

</div>

Hi,

I have a code that duplicates a movie clip that then falls across a picture. They are sort of like water drops on a window but I want the picture to only be seen through the water drops. My problem is I can’t get more than one drop to mask the picture at a time. I have tried code in the duplicated MC and I have tried pasting a bunch of instances to the stage and creating a mask later. Please help me out. The following is the code of the duplicated movie clip where \_root.drop is the falling mask and \_root.bg is the picture I want to see through the drops.

onClipEvent (load) {

var framecount = 0;  
if(this != \_level0.drop){  
this.\_x = random(795) + 15;  
this.\_y = -30;  
}  
}  
onClipEvent (enterFrame) {  
framecount += 1;  
if(this != \_level0.drop) {this.\_y += (framecount/36)\*50;}  
if(this.\_y \> 570) {this.removeMovieClip();}  
}

Thanks for your time.

btw, a published edition of what I currently have is available at:  
[http://noxnerd.tripod.com/droplets.txt](http://noxnerd.tripod.com/droplets.txt)

P.S. if posting the source would help let me know.
