I've added a sound button that allows to on/off all sound in the visit.
unfortunately it stops sounds but also videos !
Code
<action name="soundoff">
stopallsounds();
set(plugin[bt_son].onclick,action(soundon););
switch(plugin[bt_son].url,buttons/sound.png,buttons/sound_off.png);
</action>
then when reactivating sounds, they play again but the video and its sound doesn't start :(
Code
<action name="soundon">
playsound2d(s2,quiet.mp3,0.3,0,0);
set(plugin[bt_son].onclick,action(soundoff););
switch(plugin[bt_son].url,buttons/sound_off.png,buttons/sound.png);
</action>
how can i just act on sounds without afecting videos ?
Thanks :)