# Masking Dynamic Image

**URL:** <https://forum.kirupa.com/t/masking-dynamic-image/182478>\
**Category:** flash\
**Created:** [March 18, 2006, 6:26pm UTC](https://forum.kirupa.com/t/masking-dynamic-image/182478 "2006-03-18T18:26:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simpleSoft](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@simpleSoft](https://forum.kirupa.com/u/simpleSoft)\
**Post date:** [March 18, 2006, 6:26pm UTC](https://forum.kirupa.com/t/masking-dynamic-image/182478/1 "2006-03-18T18:26:04Z")

</div>

I’m writing a photo gallery. I’m looking to get an image to be masked by a vector I drew. I am getting the image into a empty movie clip just fine. I’m creating the mask image…It’s correctly positioned in place.

Put when I do the

```auto

movieWithDynamicImage.setMask(myloadedvector);

```

The mask is sitting there completely covering the image…but it’s not masking it…because it’s visible.

Does that make sense? Any help would be awsome.:thumb2:
