Use the updateComplete event instead of createComplete and attach a listener 
and do the needful.

RT

--- In flexcoders@yahoogroups.com, "criptopus" <sd_br...@...> wrote:
>
> Tried the CREATION event it didn't work, but I managed to get round the 
> problem. I just set a boolean flag when it changes. And when I need to deal 
> with the change i check the flag. No what I was looking for but gets around 
> the EVENT problem.
> 
> - Stephen
> 
> --- In flexcoders@yahoogroups.com, "Gregor Kiddie" <gregor.kiddie@> wrote:
> >
> > Add an event listener in for the "complete" event. It gets fired once
> > the content is loaded, so it'll fire each time, unlike creationComplete.
> > 
> >  
> > 
> > http://www.adobe.com/livedocs/flex/3/langref/mx/controls/SWFLoader.html#
> > event:complete
> > 
> >  
> > 
> > Gk.
> > 
> >  
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> > Behalf Of criptopus
> > Sent: 25 January 2010 15:39
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Image contentWidth
> > 
> >  
> > 
> >   
> > 
> > How do I detect when an Image has changed so that I can read the
> > contentWidth of it. An image has already loaded previously so Creation
> > Complete has been done with a different image?
> >
>


Reply via email to