advanced code snippet search
pjetr on 03/30/11
1 person have marked this snippet as a favorite
This makes the code more compact. Now on one line vs on multiple lines.
var scale:Number = Math.min(newWidth/oldWidth, newHeight/oldHeight);
Report this snippet
You need to login to post a comment.