AS3 Resize with ratio


/ Published in: ActionScript 3
Save to your folder(s)

Usage:

<code>
var newDimensions:Object = resize(800,600,320,200);
</code>

This can be adapted to pretty much any language...

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.