# \_xscale & \_yscale increments

**URL:** <https://forum.kirupa.com/t/-xscale--yscale-increments/48423>\
**Category:** flash\
**Created:** [April 13, 2004, 1:40pm UTC](https://forum.kirupa.com/t/-xscale--yscale-increments/48423 "2004-04-13T13:40:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhunki](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@mhunki](https://forum.kirupa.com/u/mhunki)\
**Post date:** [April 13, 2004, 1:40pm UTC](https://forum.kirupa.com/t/-xscale--yscale-increments/48423/1 "2004-04-13T13:40:55Z")

</div>

Folks, I have a movie clip that I want the user to be able to scale up or down in increments of 10% by pressing the up and down buttons. I think I’m close, any help would be appreciated.

on (keyPress “\<Up\>”) {  
\_root.myclip.\_xscale (110);  
\_root.myclip.\_yscale (110);  
}  
on (keyPress “\<Down\>”) {  
\_root.myclip.\_xscale, (90);  
\_root.myclip.\_yscale, (90);  
}
