Whats the difference between _xscale and _width? Explain please? Thanks.
_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:
so if i do like this._xscale = 20 or something its 20% of what “this” was?
Sorry im a little confused…
Thanks.
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.
_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