Any ideas on a slick way to prevent the focus sound from playing on start when you have a button that starts with the focus
I'm managing focus sound like so:
<g id="ButtonFocus">
<set style:backgroundFrame="1" />
<event name="PlayFocusSound" />
</g>
function playFocusSound() {
Player.audio.effect.play('file:///dvddisc/ADV_OBJ/main.aca/focus.wav', 1, function focusSoundCallback(status){});
}

Preventing a focus sound from playing on start
KevinInTX
ShAdeVampirE
Hans Hunger
Could you elaborate on how you would actually play the sound via an object in markup
I was under the impression that system (ie player) events could only be triggered by script...
Thanks!
chakravarthy_b
Several ways...
I would probably prefer the second approach, and I would play sounds via an <object> element rather than an event handler (assuming playing the sound is the only thing it does).
AlanKohl
Why an object element rather than event handler Just curious.