What steps will reproduce the problem?
1. dae.addEventListener(IOErrorEvent.IO_ERROR, myhandler);
2. dae.load(badfilename);
What is the expected output? What do you see instead?
Expected error handler 'myhandler' to be called. Standard Flash error is
displayed about an unhandled IOError.
What version of the product are you using? On what operating system?
Revision 869 (Vista x64 and IE 7)
Please provide any additional information below.
DAE.as
Add at line 316 - load() method:
this.parser.addEventListener(IOErrorEvent.IO_ERROR, onParseError);
Add at line 1644 - onMaterialsLoaded() method:
if (this.parser.hasEventListener(IOErrorEvent.IO_ERROR))
this.parser.removeEventListener(IOErrorEvent.IO_ERROR, onParseError);
Add at line 1785 - or anywhere:
protected function onParseError(event:IOErrorEvent):void {
dispatchEvent(event);
}
Original issue reported on code.google.com by andy.gri...@gmail.com on 24 Jan 2009 at 7:51
Original issue reported on code.google.com by
andy.gri...@gmail.com
on 24 Jan 2009 at 7:51