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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
<krpano version="1.0.8" >
<view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="90" fov="90" />
<display details="22" />
<!-- chargement -->
<progress showload="bar(topcenter,140px,3px,0px,60px,shaded,0x0f62ad,0xffffff,0xAAAAAA)" showwait="none" />
<plugin name="previewimage" url="%SWFPATH%/skin/icons/logo.png" align="top" y="30" preload="true" />
<events
onloadcomplete="set(plugin[previewimage].visible,false);set(plugin[previewimage].enabled,false);set(autorotate.enabled,false);"
/>
<plugin name="gyro"
url="gyro.js"
keep="true"
enabled="false"
camroll="true"
friction="0.5"
velastic="0.2"
onloaded="delayedcall(4,if(available, gyroscope, nogyroscope));"
/>
<action name="plugins_false">
</action>
<action name="gyroscope">
set(plugin[gyro].enabled,true);
set(plugin[pausegyro}.visible,true);
</action>
<action name="nogyroscope">
set(autorotate.enabled,true);
set(plugin[pauseiphone}.visible,true);
</action>
<plugin name="pauseiphone" keep="true" align="bottomright" x="15" y="15" url="%SWFPATH%/skin/icons/rotate_iphone_off.png" onclick="set(autorotate.enabled,false);set(plugin[pauseiphone].visible,false);set(plugin[rotateiphone].visible,true);show_rotate_on()" visible="false"/>
<plugin name="rotateiphone" keep="true" align="bottomright" x="15" y="15" url="%SWFPATH%/skin/icons/rotate_iphone_on.png" onclick="set(autorotate.enabled,true);set(autorotate.waittime,0);set(plugin[pauseiphone].visible,true);set(plugin[rotateiphone].visible,false);show_rotate_off()" visible="false"/>
<plugin name="pausegyro" keep="true" align="bottomright" x="15" y="15" url="%SWFPATH%/skin/icons/rotate_ipad_off.png" onclick="set(plugin[gyro].enabled,false);set(plugin[pausegyro].visible,false);set(plugin[playgyro].visible,true);show_touch()" visible="false"/>
<plugin name="playgyro" keep="true" align="bottomright" x="15" y="15" url="%SWFPATH%/skin/icons/rotate_ipad_on.png" onclick="set(plugin[gyro].enabled,true);set(plugin[pausegyro].visible,true);set(plugin[playgyro].visible,false);show_gyroscope()" visible="false"/>
<action name="show_rotate_on">
tween(plugin[rotate_on].enabled,true);
tween(plugin[rotate_on].alpha,0.7,0.5);
wait(2);
tween(plugin[rotate_on].alpha,0,0.5);
tween(plugin[rotate_on].enabled,false);
</action>
<action name="show_rotate_off">
tween(plugin[rotate_off].enabled,true);
tween(plugin[rotate_off].alpha,0.7,0.5);
wait(2);
tween(plugin[rotate_off].alpha,0,0.5);
tween(plugin[rotate_off].enabled,false);
</action>
<action name="show_touch">
tween(plugin[touch].enabled,true);
tween(plugin[touch].alpha,0.7,0.5);
wait(2);
tween(plugin[touch].alpha,0,0.5);
tween(plugin[touch].enabled,false);
</action>
<action name="show_gyroscope">
tween(plugin[gyroscope].enabled,true);
tween(plugin[gyroscope].alpha,0.7,0.5);
wait(2);
tween(plugin[gyroscope].alpha,0,0.5);
tween(plugin[gyroscope].enabled,false);
</action>
<plugin name="rotate_on" devices="html5"
url="../plugins/textfield.swf"
backgroundcolor="0xffffff"
align="center"
alpha="0"
html="[p]Auto-Rotation désactivée[/p]"
css="data:cssdata"
shadow="2"
roundedge="10"
autosize="center"
enabled="false"
zorder="1"
/>
<plugin name="rotate_off" devices="html5"
url="../plugins/textfield.swf"
backgroundcolor="0xffffff"
align="center"
alpha="0"
html="[p]Auto-Rotation activée[/p]"
css="data:cssdata"
shadow="2"
roundedge="10"
autosize="center"
enabled="false"
zorder="1"
/>
<plugin name="touch" devices="html5"
url="../plugins/textfield.swf"
backgroundcolor="0xffffff"
align="center"
alpha="0"
html="[p]Gyroscope désactivé[/p]"
css="data:cssdata"
shadow="2"
roundedge="10"
autosize="center"
enabled="false"
zorder="1"
/>
<plugin name="gyroscope" devices="html5"
url="../plugins/textfield.swf"
backgroundcolor="0xffffff"
align="center"
alpha="0"
html="[p]Gyroscope activé[/p]"
css="data:cssdata"
shadow="2"
roundedge="10"
autosize="center"
enabled="false"
zorder="1"
/>
<data name="cssdata">
p{color:#0060b7; font-family:Arial; font-size:30px ;font-weight:bold; padding:0px 15px 0px 15px;text-align:center;}
</data>
</krpano>
|