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
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
2 matches
Mail list logo