onProgress callback each time a resource is loaded, the loader will fire the specified function, giving the actual progress [0 ... 1], as argument, and an object describing the resource loaded
undefined Copy
undefined
loader
since 18.2.0 - Use the event.LOADER_PROGRESS event instead.
// use the LOADER_PROGRESS event insteadme.event.on(me.event.LOADER_PROGRESS, (progress, resource) => this.updateProgress(progress, resource)); Copy
// use the LOADER_PROGRESS event insteadme.event.on(me.event.LOADER_PROGRESS, (progress, resource) => this.updateProgress(progress, resource));
onProgress callback
each time a resource is loaded, the loader will fire the specified function, giving the actual progress [0 ... 1], as argument, and an object describing the resource loaded