# \_xscale vs \_width

**URL:** <https://forum.kirupa.com/t/-xscale-vs--width/28177>\
**Category:** flash\
**Created:** [August 11, 2003, 1:16am UTC](https://forum.kirupa.com/t/-xscale-vs--width/28177 "2003-08-11T01:16:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fydus](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@Fydus](https://forum.kirupa.com/u/Fydus)\
**Post date:** [August 11, 2003, 1:16am UTC](https://forum.kirupa.com/t/-xscale-vs--width/28177/1 "2003-08-11T01:16:33Z")

</div>

Whats the difference between \_xscale and \_width? Explain please? Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2003, 3:36am UTC](https://forum.kirupa.com/t/-xscale-vs--width/28177/2 "2003-08-11T03:36:07Z")

</div>

\_xscale and \_yscale resize a clip depending on a percentage of it’s original width or height.

\_width and \_height resize a clip depending on a specific pixel value.

:thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2003, 5:37am UTC](https://forum.kirupa.com/t/-xscale-vs--width/28177/3 "2003-08-11T05:37:56Z")

</div>

so if i do like this.\_xscale = 20 or something its 20% of what “this” was?  
Sorry im a little confused…  
Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2003, 10:36am UTC](https://forum.kirupa.com/t/-xscale-vs--width/28177/4 "2003-08-11T10:36:17Z")

</div>

suppose there’s a MC of width 200 px. If you put \_xscale=50, it will put the width of the MC to be 50% of 200, which is 100. But if you put \_width=50, It will put the width of the MC to 50 pixels.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2003, 11:21am UTC](https://forum.kirupa.com/t/-xscale-vs--width/28177/5 "2003-08-11T11:21:33Z")

</div>

\_width (and \_height) is independant of rotation though \_xscale and \_yscale is not. You can read alittle more from a post here:  
[http://forums.ultrashock.com/forums/showthread.php?s=&threadid=29629](http://forums.ultrashock.com/forums/showthread.php?s=&threadid=29629)
