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
Dietz
Why an object element rather than event handler Just curious.
Blkbird
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!
k_Prasad
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).
can_thing_beat_hulk
Jeremy Jarrell