This might be overkill, but feel free to use the TransformManager and/or TransformItem class(es) available at http://www.greensock.com/ActionScript/TransformManager. You can just set the constrainScale_boolean property to true.
Jack Doyle -----Original Message----- Date: Mon, 26 Mar 2007 13:08:09 +0100 From: "Adrian Lynch" <[EMAIL PROTECTED]> Subject: [Flashcoders] Image resizer that maintains ratio To: "Flashcoders" <flashcoders@chattyfig.figleaf.com> Message-ID: <[EMAIL PROTECTED]> Any examples out there? I've got as far as resizing a user supplied image and am about to work on the ratio remaining fixed. Just thought I'd throw this out there as I think it may be tricky. Ta. Adrian *********************** _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com