Hi,
I'm using a combo to switch detween 3 panos.
The first pano has no sound but each 2 others have a different sound .
I can't make it run :
Code
<krpano version="1.0.8" onstart="action(onstart);" logkey="false" >
<plugin name="soundinterface" url="%SWFPATH%/plugins/soundinterface.swf" rootpath="%CURRENTXML%" />
<plugin name="box_panos" url="%SWFPATH%/plugins/combobox.swf" keep="true" visible="true"
align="rightbottom"
x="10" y="10"
width="200"
onloaded="action(setup_box_panos);"
zorder="99"
/>
<action name="setup_box_panos">
removeall();
additem(first choice without ambient sound, action(loadscene1) );
additem(second choice with sound, action(loadscene2) );
additem(third choice with sound, action(loadscene3) );
</action>
<action name="loadscene1">
stopallsounds();
loadscene(scene1, null, MERGE, BLEND(1));
</action>
<action name="loadscene2">
stopallsounds();
loadscene(scene2, null, MERGE, BLEND(1));
playsound(frogs2,frogs2.mp3,loops);
</action>
<action name="loadscene3">
stopallsounds();
loadscene(scene3, null, MERGE, BLEND(1));
playsound(frogs3,frogs3.mp3,loops);
</action>
<action name="onstart">
loadscene(scene1, null, MERGE, BLEND(1));
plugin[box_panos].selectitem(first choice without ambient sound);
</action>
Alles anzeigen
any idea ?
I have no sound at all !
Where should the play sound be inserted ?
thank's