Phaser API Documentation

  Version: 
Event: ERROR
Phaser.Textures.Events.ERROR
ERROR

Description:

The Texture Load Error Event.

This event is dispatched by the Texture Manager when a texture it requested to load failed. This only happens when base64 encoded textures fail. All other texture types are loaded via the Loader Plugin.

Listen to this event from within a Scene using: this.textures.on('onerror', listener).

Parameters:

name type description
key string

The key of the Texture that failed to load into the Texture Manager.

Since: 3.0.0