[Papervision3D] bytesLoaded always equals bytesTotal in FileLoadEvent
Nuno Morgadinho
nuno.morgadinho at gmail.com
Sun Nov 18 15:40:57 PST 2007
I'm loading a COLLADA object and although the object is loaded ok it
seems the load progress isn't being well reported because bytesLoaded
always equals bytesTotal. Something I'm missing?
_collada = new Collada("resources/obj.DAE", null, 0.5);
_collada.addEventListener(FileLoadEvent.LOAD_PROGRESS, handleLoadProgress);
private function handleLoadProgress(e:FileLoadEvent):void
{
trace(e.bytesLoaded + " of " + e.bytesTotal + " loaded");
}
Thanks,
--
Nuno Morgadinho
http://www.dreaminginflash.com
More information about the Papervision3D
mailing list