Hi Guys,
I'm trying to create a simple play/pause button that functions like toggle.
I could create a pause/resumesound button, but could not make it init the music.
I'd like to use in this work: http://www.unscaras.com.br
It's a musical band site and the link mp3 will have lots more to listen, since i solve this problem.
Today, I have 2 buttons: 1 for play (playsound) and another for stop (stopallsounds).
Could you guys help me with that?
I'd like to create a simple button with play/pause state and another button for download option.
Just for info... i made this action for the toggle button, but how to make it play the music before it's running any sound?
Code
<action name="switch">
pausesoundtoggle(s1);
switch(hotspot[audio_stop].url,audio_listen.png,audio_stop.png);
</action>
Thank you!!
Daniel