hi all,
please tell me, what's the difference between 2 ways of starting background sound?
this
Code
<events name="currentpano"
onnewpano="playsound(bgsnd, '1.mp3|1.ogg', 1);"
onremovepano="stopsound(bgsnd);"
/>
and
Code
<krpano version="1.16" onstart="startup();">
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
playsound(one, '1.mp3|1.ogg', 1);
</action>
================================
embed plugin
Code
<plugin name="soundinterface"
url="plugins/soundinterface.swf"
alturl="plugins/soundinterface.js"
rootpath=""
preload="true"
keep="true"
/>
what is the best way?
thx.