[Flashcoders] RE: listener (completeHandler ) doesn´t run after file is loaded.

2009-09-17 Thread Isaac Alves
solved.

I was using an instance of Loader class to load a XML file, when i
should use an instance of URLLoader class.

cheers!!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: listener (completeHandler ) doesn´t run after file is loaded.

2009-09-16 Thread Isaac Alves
well, solved... though it remains a mystery that bugs me.

function progressListener (e:ProgressEvent):void
{
trace(Downloaded  + e.bytesLoaded +  out of  + 
e.bytesTotal +  bytes);
if ( e.bytesLoaded == e.bytesTotal)
{
loaderCompleteHandler2(null);
}
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders