Const
The File Load Complete Event.
This event is dispatched by the Loader Plugin when any file in the queue finishes loading.
Listen to it from a Scene using: this.load.on('filecomplete', listener).
this.load.on('filecomplete', listener)
Make sure you remove this listener when you have finished, or it will continue to fire if the Scene reloads.
You can also listen for the completion of a specific file. See the [FILE_KEY_COMPLETE]Phaser.Loader.Events#event:FILE_KEY_COMPLETE event.
The File Load Complete Event.
This event is dispatched by the Loader Plugin when any file in the queue finishes loading.
Listen to it from a Scene using:
this.load.on('filecomplete', listener).Make sure you remove this listener when you have finished, or it will continue to fire if the Scene reloads.
You can also listen for the completion of a specific file. See the [FILE_KEY_COMPLETE]Phaser.Loader.Events#event:FILE_KEY_COMPLETE event.