Set the stopOnAudioError flag — whether an audio clip that still
fails after its retries aborts loading (reporting the error to the loader,
which rejects the preload) or just disables sound with a console warning.
This setter is the supported way to change the flag: assigning
me.audio.stopOnAudioError = false directly throws a TypeError, because
module namespace properties are read-only.
Parameters
value: boolean
true to fail the load on error, false to disable sound instead
Returns void
Example
// don't abort the whole game when audio fails to load me.audio.setStopOnAudioError(false);
Set the stopOnAudioError flag — whether an audio clip that still fails after its retries aborts loading (reporting the error to the loader, which rejects the preload) or just disables sound with a console warning. This setter is the supported way to change the flag: assigning
me.audio.stopOnAudioError = falsedirectly throws a TypeError, because module namespace properties are read-only.