# Filters and setmask

**URL:** https://forum.kirupa.com/t/filters-and-setmask/186933
**Category:** Uncategorized
**Created:** [April 25, 2006, 1:59pm UTC](https://forum.kirupa.com/t/filters-and-setmask/186933 "2006-04-25T13:59:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![g5604](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@g5604](https://forum.kirupa.com/u/g5604)
#### Post date: [April 25, 2006, 1:59pm UTC](https://forum.kirupa.com/t/filters-and-setmask/186933/1 "2006-04-25T13:59:49Z")

</div>

Hi,

i am loading movies into a container that is masked off using setMask(), however when i apply a filter (blur) the blur is visible outside the masked area… anyone know a fix?

cheers,  
Gareth

---

<div class="post-metadata">

### Author: ![Anatoly](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/anatoly/32/1694_2.png) [@Anatoly](https://forum.kirupa.com/u/Anatoly)
#### Post date: [April 25, 2006, 4:27pm UTC](https://forum.kirupa.com/t/filters-and-setmask/186933/2 "2006-04-25T16:27:49Z")

</div>

roaden the mask size according to the blur amount your applying.  
For instance for a 5 pixel blur ( on x & y) make ur mask MovieClip \_height and \_width bigger by 5 pixels (just pay attention to the registration point of the MovieClip to get a centered resize )

Hope it helps 🙂

---

<div class="post-metadata">

### Author: ![g5604](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@g5604](https://forum.kirupa.com/u/g5604)
#### Post date: [April 25, 2006, 5:46pm UTC](https://forum.kirupa.com/t/filters-and-setmask/186933/3 "2006-04-25T17:46:05Z")

</div>

Hi,

thanks for that, but does this not defeat the point of a masked area??
