diff --git a/lime/audio/AudioBuffer.hx b/lime/audio/AudioBuffer.hx index dd04fdb2b..cae58c20b 100644 --- a/lime/audio/AudioBuffer.hx +++ b/lime/audio/AudioBuffer.hx @@ -303,7 +303,7 @@ class AudioBuffer { }); - audioBuffer.__srcSound.addEventListener (IOErrorEvent.IO_ERROR, promise.error); + audioBuffer.__srcSound.addEventListener (flash.events.IOErrorEvent.IO_ERROR, promise.error); #elseif (js && html5 && howlerjs)