name | type | arguments | description |
---|---|---|---|
key | string |
The key of the file. Must be unique within both the Loader and the Audio Cache. |
|
jsonURL | string |
The absolute or relative URL to load the json file from. Or a well formed JSON object to use instead. |
|
jsonXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the json file. |
audioURL | Object | <optional> |
The absolute or relative URL to load the audio file from. |
audioConfig | any | <optional> |
The audio configuration options. |
audioXhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for the audio file. |