windrobin / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

DAE ProgressListener #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a DAE and add progress listener
daeFile.load("./3D/waterfall1.dae");
daeFile.addEventListener(FileLoadEvent.LOAD_PROGRESS, onDAELoadProgress);

What is the expected output? What do you see instead?
dispatching event on load progress

What version of the product are you using? On what operating system?
r863

Please provide any additional information below.
DAE.as:
protected function onParseProgress(event:ProgressEvent):void
{
}

the function is empty and should have this inside:
dispatchEvent(new FileLoadEvent(FileLoadEvent.LOAD_PROGRESS, 
this.filename, event.bytesLoaded, event.bytesTotal, null, null, true, 
false));

attached corrected file (r863 14.1.09 21:50:59)

Original issue reported on code.google.com by milan.orszagh on 15 Jan 2009 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
What do you see instead?
nothing -> event is not dispatching

Original comment by milan.orszagh on 19 Jan 2009 at 12:09

GoogleCodeExporter commented 9 years ago
Should be fixed

Original comment by tim.k...@gmail.com on 20 Jan 2009 at 3:52