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 !!
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!