# Can duplicated movies be subject to masking?

**URL:** https://forum.kirupa.com/t/can-duplicated-movies-be-subject-to-masking/210881
**Category:** Uncategorized
**Created:** [December 23, 2006, 6:49am UTC](https://forum.kirupa.com/t/can-duplicated-movies-be-subject-to-masking/210881 "2006-12-23T06:49:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![webshaun](https://avatars.discourse-cdn.com/v4/letter/w/bbce88/32.png) [@webshaun](https://forum.kirupa.com/u/webshaun)
#### Post date: [December 23, 2006, 6:49am UTC](https://forum.kirupa.com/t/can-duplicated-movies-be-subject-to-masking/210881/1 "2006-12-23T06:49:06Z")

</div>

Hi there everyone! I’m making a snowglobe for the holidays and as such, I’m looking to have it snow INSIDE the globe only. What I’ve done is make a mask for the globe so that the “snow” movie clip will only be visible within the globe. I also have a duplicate movie action in my main movie to create a lot of snow.

The problem, though, is that the duplicates do not get masked like the main snow clip. Is there a way to fix this? Any advice?

Here’s the code for the duplicate clips:  
for (k=0; k\<100; k++) {  
duplicateMovieClip(\_root.snow, “snow” +k, k);  
}

Should I be putting this code somewhere else?

Thanks for the help!..and happy holidays everyone!

Shaun
