1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<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>
|