1 decade ago
by dmen
Anyone seen this error - I am getting it intermittently in IE only, and it causes my game to lock up:
SCRIPT5022: DOM Exception: INVALID_STATE_ERR (11)
It's pointing to a character in game.min.js
1 decade ago
by dmen
Doing a little more checking and the error is in sound.js line 95:
channels[0].currentTime = 0;
Only happening in IE and happens quite a lot. It happens when playing a short sound repeatedly - currently it's the only sound playing also.
1 decade ago
by dmen
I see some other peoplr on here have had this same error - and commenting out that line in audio.js does seem to fix it - though the sounds don't play in quick succession well without it. But that's better than crashing.
Anyone have any suggestions for this?
1 decade ago
by dmen
Instead of commenting that line out, I decided on this:
if (channels[0].readyState > 1) {
channels[0].currentTime = 0;
}
Not sure if that's any better than just commenting it, but IE is working anyway...
Page 1 of 1
« first
« previous
next ›
last »