[flexcoders] Re: Image contentWidth

2010-01-28 Thread myflexdownloads
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.

[flexcoders] Re: Image contentWidth

2010-01-27 Thread criptopus
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,

Re: [flexcoders] Re: Image contentWidth

2010-01-27 Thread Fotis Chatzinikos
You do not need a variable thought... the complete event (and not creationComplete) gets fired correctly whenever an image is loaded... On Wed, Jan 27, 2010 at 1:29 PM, criptopus sd_br...@ntlworld.com wrote: Tried the CREATION event it didn't work, but I managed to get round the problem. I