Phaser API Documentation

nextFile(file, success)


An internal method called automatically by the XHRLoader belong to a File.

This method will remove the given file from the inflight Set and update the load progress. If the file was successful its onProcess method is called, otherwise it is added to the delete queue.


name type description
file Phaser.Loader.File

The File that just finished loading, or errored during load.

success boolean

true if the file loaded successfully, otherwise false.

Since: 3.0.0