Use events of the new sound interface
-
-
Hi,
look here: https://krpano.com/plugins/soundinterface/#soundobject
There is an small example: tween(sound[sound1].volume, 0.5);
Hope it helps!
Tuur -
its simple... just
set(sound[name].onplay, 'trace("yehh, playing!")');
set(sound[name].onstop, 'trace("ouch, stopped.")'); -
its simple... just
set(sound[name].onplay, 'trace("yehh, playing!")');
set(sound[name].onstop, 'trace("ouch, stopped.")');
Thanks !
I was trying somethings much more complicated !!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!