[Papervision3D] [REV 238] BitmapFileMaterial: an IOErrorEvent is now dispatched when image is non-existent.

Tim Knip tim.knip at gmail.com
Sun Sep 2 15:05:09 PDT 2007


BitmapFileMaterial missed a IOErrorEvent getting dispatched.

So, now you can do:

var bfm:BitmapFileMaterial = new BitmapFileMaterial( "mypic.jpg" );

bfm.addEventListener( FileLoadEvent.LOAD_COMPLETE, materialCompleteHandler );
bfm.addEventListener( IOErrorEvent.IO_ERROR, materialErrorHandler );

Tim



More information about the Papervision3D mailing list