/ Published in: ActionScript

useful for image or video resizing
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mc.scaleX > mc.scaleY ? mc.scaleY = mc.scaleX : mc.scaleX = mc.scaleY;
URL: http://gromitski.com/blog/maintaining-aspect-ratio/
Comments
