/ Published in: ActionScript

URL: http://gromitski.com/blog/maintaining-aspect-ratio/
useful for image or video resizing
Expand |
Embed | Plain Text
mc.scaleX > mc.scaleY ? mc.scaleY = mc.scaleX : mc.scaleX = mc.scaleY;
You need to login to post a comment.