Re: [flexcoders] what is valid event type for image load monitoring

2006-10-30 Thread Tom Chiverton
On Wednesday 25 October 2006 20:32, Robert Was wrote: Debugger tell me that image width=0, is any other event type if i want make actions with loaded image if i know width for example? That's the default, iirc. Try setting it to something before you addChild() ? -- Tom Chiverton Helping to

[flexcoders] what is valid event type for image load monitoring

2006-10-25 Thread Robert Was
Code in my component: ... image=new Image() addChild(image) image.addEventListener(Event.COMPLETE ,evImageLoadComplete) image.source=image.jpg ... private function evImageLoadComplete(e:Event):void{ -breakpoint there } Debugger tell me that image width=0, is any other event