# Masking images

**URL:** <https://forum.kirupa.com/t/masking-images/113451>\
**Category:** Uncategorized\
**Created:** [June 18, 2004, 1:30am UTC](https://forum.kirupa.com/t/masking-images/113451 "2004-06-18T01:30:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joso](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@joso](https://forum.kirupa.com/u/joso)\
**Post date:** [June 18, 2004, 1:30am UTC](https://forum.kirupa.com/t/masking-images/113451/1 "2004-06-18T01:30:51Z")

</div>

hey again…

so here’s the scenario…

I’ve got 5 images that i want to display in flash, when i click a button 1 i want image one to show up then when i click button 2 or 3, etc. i want a mask to play over the image currently being displayed, which would be image 1, before displaying image 2 or 3 or whatever, then the same goes for that image so when i click any other button a mask plays over the current image selected before displaying the new image? is there a simple way to do this, i’ve been trying eerything i can think of but no luck :crying:

thanks

---

<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:** [June 18, 2004, 4:13am UTC](https://forum.kirupa.com/t/masking-images/113451/2 "2004-06-18T04:13:01Z")

</div>

well you can use setMask() to dynamically mask your movieclip holder which would then load your images.
