diff --git a/examples/js/loaders/FBXLoader.js b/examples/js/loaders/FBXLoader.js index e1779fb03f5e03..a46344915da091 100644 --- a/examples/js/loaders/FBXLoader.js +++ b/examples/js/loaders/FBXLoader.js @@ -36,7 +36,7 @@ var scope = this; - var loader = new THREE.FileLoader( scope.manager ); + var loader = new THREE.XHRLoader( scope.manager ); // loader.setCrossOrigin( this.crossOrigin ); loader.load( url, function ( text ) { @@ -597,7 +597,7 @@ loadFile: function ( url, onLoad, onProgress, onError, responseType ) { - var loader = new THREE.FileLoader( this.manager ); + var loader = new THREE.XHRLoader( this.manager ); loader.setResponseType( responseType );