05-05-2011 11:56 PM
*bump*
Staff UI Prototyper (read: full-time hacker)
My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App
05-16-2011 10:14 AM
*hears crickets chirp*
(also in the bug I created for this)
Staff UI Prototyper (read: full-time hacker)
My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App
10-02-2012 01:40 PM - edited 10-02-2012 01:49 PM
I'm experiencing the same issue with a WW (10.0.2.9)/BBui (0.9.4) HTML5 game.
I need to fire a (short / ogg) sound on touch events.
I did it the "simple way" in my main script :
var audioValid = new Audio('sounds/audioValid.ogg');And then in my touch event handler :
audioValid.play();
As my game is based on sequences that are running faster with levels, it works fine when time elapsed between events (touch) is long enough (> sound lenght ?), but won't play the sound when it is shorten (< sound length ?).
Is there any "good practice" or workaround for this ?