Please Help With Mask!

Hey guys. I completed the falling snow tutorial and want it falling just over the content window. But when I make the mask, it still falls on the rest of the page. I have four layers:
Actions
BG
Mask
-Snow (movie clip)
Please help! Thanks.

Hydr0

Anyone?!? Please, this is for a project that is due relatively soon, and without this awesome-looking snow, it will look so plain. I have all source files if you need them.

hey man, im not so sure that i understand what you mean, so post your source and i’ll check it out! :stuck_out_tongue:

Thanks so much man. Picture this: I have a site with a content window. I completed Kirupa’s falling snow tutorial, and want that snow to appear only in the content window. The way it is now, you can see it over the nav and whatnot. I also don’t want to play with the actionscript that controls the snow (such as the width and height of the movieclip), because doing this makes the snow appear and disappear in the content window. (You’ll understand when you look at it.)
When I made the mask, I made a new layer, and drew a box over the content window. Then I put the snow layer underneath that. But even then, the snow still fell outside the mask.
Here is the source file. Thank you so much for helping me!

The file doesn’t have the mask the way I made it because when it didn’t work I deleted it. So did you have any luck with it?

The snow code is using moviewidth and height to determine snowflake position. Change this to reflect the appropriate starting point and ending point of your snow.

Also, you could have the snow inside of a movie clip, that would eliminate the need for a mask altogether.

Finally, the fla you sent had a final layer which was masking… except it wasnt masknig anything underneath it. There are some tutorials here about masking. You should try them! They are really neat and I think you’ll find them interesting.

Have a great day!

Thanks for replying. The problem with altering the moviewidth/height is that when you fit it to the window, you can actually see the snow appearing and disappearing. I want that to happen outside the content window, so the user does not see it. When I made the mask, I had four layers:
Actions
BG
Mask
-Snow (movie clip)

So I had it right, but when it didn’t work, I moved the layers around and didn’t delete the mask. That is why in the file you downloaded the mask is at the bottom, masking nothing.
So lemme see if I got this right: Since the snow is a movie clip, it doesn’t/can’t be masked?
If that’s incorrect, then what should I do to properly mask the snow??
Thanks again.

Ok I fixed it so the mask is exactly how I had it. It looks right to me, but it’s obviously not because it’s not masking anything =P
Please someone help meeeeeeeeeeeeeeeee! Thanks guys.

I gotta run so I didn’t have time to tweak it to fit correctly but this should help you out, I just put your snow inside a movie clip.

Thank you so much man. It works and looks beautiful. But I’m a bit confused as to why the mask didn’t work properly to begin with. How did putting the snow inside a MC make the mask then work? If you don’t have time, it’s ok, I can always ask my teacher. Thanks again!

Because the movie clips you were duplicating weren’t being masked. By putting it in a movie clip it duplicates them within the MC and the MC is masked.