# Publish with percentage dimensions ruins my masks

**URL:** <https://forum.kirupa.com/t/publish-with-percentage-dimensions-ruins-my-masks/286482>\
**Category:** flash\
**Created:** [April 16, 2009, 4:35am UTC](https://forum.kirupa.com/t/publish-with-percentage-dimensions-ruins-my-masks/286482 "2009-04-16T04:35:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nunonaos](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@nunonaos](https://forum.kirupa.com/u/nunonaos)\
**Post date:** [April 16, 2009, 4:35am UTC](https://forum.kirupa.com/t/publish-with-percentage-dimensions-ruins-my-masks/286482/1 "2009-04-16T04:35:54Z")

</div>

Hello, i need heal to create a mask with as3.  
I dray a rectangle in the right place.  
But when i add the code to transform that rectangle in a mask the rectangle doesn’t keep it’s size, wich means that the mask doesn’t get the size i wanted.  
Any ideias?
