load method
dynamic
load(])
override
Implementation
@override
load(url, onLoad, [onProgress, onError]) {
var scope = this;
var path = (scope.path == '') ? LoaderUtils.extractUrlBase(url) : scope.path;
var loader = FileLoader(manager);
loader.setPath(scope.path);
loader.setResponseType('arraybuffer');
loader.setRequestHeader(scope.requestHeader);
loader.setWithCredentials(scope.withCredentials);
loader.load(url, (buffer) {
// try {
onLoad(scope.parse(buffer, path));
// } catch ( e ) {
// if ( onError != null ) {
// onError( e );
// } else {
// print( e );
// }
// scope.manager.itemError( url );
// }
}, onProgress, onError);
}