yeah I seen it, thanks for the reply. I need to do it manualy in some cases like when I create the handles for the user to drag them and resize the image.
omar On 7/5/05, Manish Jethani <[EMAIL PROTECTED]> wrote: > On 7/5/05, Omar Ramos <[EMAIL PROTECTED]> wrote: > > > Does anyone have the code to resize a image to maintain aspect ratio > > manualy? I would like the user to alter the width and height of a > > image using the mouse in say incrementes of 5px but maintaining aspect > > ratio. > > Before you try to write code to do it, have you seen the > maintainAspectRatio property of the Image component? Set it to true > and it'll be taken care of. > > http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Image.html > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > ________________________________ > YAHOO! GROUPS LINKS > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > ________________________________ > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

