Why don't you do same in IOError handler & invalidate, i don't see why it shouldn't work.
On Aug 15, 2011, at 11:09 PM, jitendra jain wrote: > > I dont want to give scaleContent when the image is successfully loaded. I > want on IOError.. If i mention it in .css it will apply for all the skins.. > > Thanks, > > with Regards, > Jitendra Jain > Software Engineer > 91-9979960798 > > > From: Srinivas Sandur Madhu Murthy <s.m.srini...@gmail.com> > To: flexcoders@yahoogroups.com > Sent: Tue, 16 August, 2011 11:28:48 AM > Subject: Re: [flexcoders] BrokenImageSkin > > > > Did you try scaleContent? and also try using verticalAlign & horizontalAlign > [both css properties] along with scaleContent. > > Srinivas > > On Aug 15, 2011, at 10:51 PM, jitendra jain wrote: > >> >> >> Hi Coders, >> >> Iam using some Image Halo as well as Spark Image Controls. Whenever I am >> using Halo BrokenImageSkin for Image control, the swfloader is fit to the >> content size.. how can I restrict my Image control, not to go beyond its >> actual size when there is any IOError? >> >> >> >> Thanks, >> >> with Regards, >> Jitendra Jain >> Software Engineer >> 91-9979960798 >> >> > > >