emanuel-smiling / away3d

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

ResourceManager.loadResurse error handlers #154

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In loadResurse double handler

session.addEventListener(ResourceEvent.RESOURCE_RETRIEVED, onResourceRetrieved);
session.addEventListener(ResourceEvent.RESOURCE_RETRIEVED, onResourceRetrieved);

and disable handler ResourceEvent.DEPENDENCY_RETRIEVED!
session.addEventListener(ResourceEvent.DEPENDENCY_RETRIEVED, 
onDependencyRetrieved);

Original issue reported on code.google.com by System.g...@gmail.com on 18 Mar 2011 at 4:52