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
Default
undefined
Memberof
loader
Example
// set a callback for progress notification me.loader.onProgress = this.updateProgress.bind(this);
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