If the image is set to 100% width/height with minWidth/minHeight=0, it
should shrink or grow.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Charu
Sent: Thursday, August 30, 2007 5:03 AM
To: [email protected]
Subject: [flexcoders] Image -shrinking and resizing

 

Hello All,

i am creating a component where one i have a vbox and under that i have 
an image.

i have provided the faciltity to load image at runtime by specifing the 
url.
one can also change it's height and width at runtime.Along with stretch 
options(by height,width,both)

So can ne1 help me how to compress the image width or height according 
to the height of vbox.
like if i specify stretch by height it should be stretched from it'e 
height...

please help ...quite urgent

 

Reply via email to