# scaleX & scaleY props question

**URL:** <https://forum.kirupa.com/t/scalex-scaley-props-question/242686>\
**Category:** flash\
**Created:** [October 29, 2007, 3:13pm UTC](https://forum.kirupa.com/t/scalex-scaley-props-question/242686 "2007-10-29T15:13:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![absolutezero342](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@absolutezero342](https://forum.kirupa.com/u/absolutezero342)\
**Post date:** [October 29, 2007, 3:13pm UTC](https://forum.kirupa.com/t/scalex-scaley-props-question/242686/1 "2007-10-29T15:13:14Z")

</div>

what is the right way to use the scaleX and scaleY properties? I don’t quite understand how to use them…  
right now, I’m using this, but I think scaleX and scaleY would be a better idea:

```auto

if(*condition*){
some_mc.width++;
some_mc.height++;
}
else{
some_mc.width--;
some_mc.height--;
}

```
