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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<plugin name="combobox"
url="%SWFPATH%/plugins/combobox.swf"
align="leftbottom"
x="30"
y="30"
width="180"
keep="true"
onloaded="action(setupitems);"
/>
<action name="setupitems">
removeall();
plugin[combobox].removeall();
plugin[combobox].additem(01 Subirana Point of no return, set(currentpano,1); action(playsounds));
plugin[combobox].additem(02 Subirana Pyraminx, set(currentpano,2); action(playsounds));
plugin[combobox].additem(03 Silence Realite, set(currentpano,3); action(playsounds));
plugin[combobox].additem(04 Silence Stop, set(currentpano,4); action(playsounds));
plugin[combobox].additem(05 Silence Larmes, set(currentpano,5); action(playsounds));
plugin[combobox].additem(06 Zeropage Void Sensor, set(currentpano,6); action(playsounds));
plugin[combobox].additem(07 Zeropage Clear View On Tempel 1, set(currentpano,7); action(playsounds));
plugin[combobox].additem(08 Zeropage Ambient Voyager, set(currentpano,8); action(playsounds));
</action>
<!-- music -->
<plugin name="soundinterface" url="plugins/soundinterface.swf" rootpath="." onloaded="set(currentpano,1); action(setupitems2)" />
<!-- sound buttons -->
<plugin name="soundoff" url="btn_audioof.png" align="bottom" edge="center" y="40" x="+120" blendmode="screen" onhover="showtext(Mute);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="stopsound(s1); set(plugin[soundoff].visible,false); set(plugin[soundon].visible,true); set(plugin[combobox].visible,false);" />
<plugin name="soundon" url="btn_audioon.png" visible="false" align="bottom" edge="center" y="40" x="+120" blendmode="screen" onhover="showtext(Enable sounds);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="action(setupitems2); set(plugin[soundoff].visible,true); set(plugin[soundon].visible,false); set(plugin[combobox].visible,true); action(setupitems2);" />
<!-- actions -->
<action name="setupitems2">
plugin[combobox].removeall();
plugin[combobox].additem(01 Subirana Point of no return, set(currentpano,1); action(playsounds));
plugin[combobox].additem(02 Subirana Pyraminx, set(currentpano,2); action(playsounds));
plugin[combobox].additem(03 Silence Realite, set(currentpano,3); action(playsounds));
plugin[combobox].additem(04 Silence Stop, set(currentpano,4); action(playsounds));
plugin[combobox].additem(05 Silence Larmes, set(currentpano,5); action(playsounds));
plugin[combobox].additem(06 Zeropage Void Sensor, set(currentpano,6); action(playsounds));
plugin[combobox].additem(07 Zeropage Clear View On Tempel 1, set(currentpano,7); action(playsounds));
plugin[combobox].additem(08 Zeropage Ambient Voyager, set(currentpano,8); action(playsounds));
action(playsounds);
</action>
<action name="playsubirana">
playsound(s1,pnr.mp3, 1, set(currentpano,2); action(setupitems2););
set(currentpano,1);
plugin[combobox].selectitem(01 Subirana Point of no return);
</action>
<action name="playsubirana2">
playsound(s1,pmx.mp3, 1, set(currentpano,3); action(setupitems2););
set(currentpano,2);
plugin[combobox].selectitem(02 Subirana Pyraminx);
</action>
<action name="playsilence">
playsound(s1,02.mp3, 1, set(currentpano,4); action(setupitems2););
set(currentpano,3);
plugin[combobox].selectitem(03 Silence Realite);
</action>
<action name="playsilence2">
playsound(s1,03.mp3, 1, set(currentpano,5); action(setupitems2););
set(currentpano,4);
plugin[combobox].selectitem(04 Silence Stop);
</action>
<action name="playsilence3">
playsound(s1,07.mp3, 1, set(currentpano,6); action(setupitems2););
set(currentpano,5);
plugin[combobox].selectitem(05 Silence Larmes);
</action>
<action name="playzero">
playsound(s1,z03.mp3, 1, set(currentpano,7); action(setupitems2););
set(currentpano,6);
plugin[combobox].selectitem(06 Zeropage Void Sensor);
</action>
<action name="playzero2">
playsound(s1,z04.mp3, 1, set(currentpano,8); action(setupitems2););
set(currentpano,7);
plugin[combobox].selectitem(07 Zeropage Clear View On Tempel 1);
</action>
<action name="playzero3">
playsound(s1,z01.mp3, 1, set(currentpano,1); action(setupitems2););
set(currentpano,8);
plugin[combobox].selectitem(08 Zeropage Ambient Voyager);
</action>
<action name="playsounds">
if(currentpano == 1,action(playsubirana));
if(currentpano == 2,action(playsubirana2));
if(currentpano == 3,action(playsilence));
if(currentpano == 4,action(playsilence2));
if(currentpano == 5,action(playsilence3));
if(currentpano == 6,action(playzero));
if(currentpano == 7,action(playzero2));
if(currentpano == 8,action(playzero3));
</action>
|