super fast-fix-fab ;p, thx you both ;)

2009/4/2 Fabrice <[email protected]>

>
> thx, trunk updated.
>
> Fabrice
>
>
>
> On Apr 2, 2009, at 12:01 PM, joakimcs wrote:
>
>
>> In the constructor method of the class
>> away3d.materials.BitmapFileMaterial the event listeners
>> IOErrorEvent.IO_error and ProgressEvent.PROGRESS seems to have been
>> added to the wrong object - thus making the addOnLoadProgress and
>> addOnLoadError methods fail silently.
>>
>> I've fixed this by altering lines 80 and 81:
>>     _loader.addEventListener(IOErrorEvent.IO_ERROR, onError);
>>     _loader.addEventListener(ProgressEvent.PROGRESS, onProgress);
>>
>> ... to:
>>     _loader.contentLoaderInfo.addEventListener
>> (IOErrorEvent.IO_ERROR, onError);
>>     _loader.contentLoaderInfo.addEventListener
>> (ProgressEvent.PROGRESS, onProgress);
>>
>> Don't know if this the right forum to post such bug reports, hope it
>> get's through to the masterminds up there...
>>
>> Yes, and thanks for Away3D, again.
>>
>> j.
>>
>
>


-- 
katopz
http://www.sleepydesign.com

Reply via email to