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
|
<krpano version="1.0.8" logkey="false">
<!--************** Plugins et données KrPano **************************************************-->
<plugin name="data" firstPanoHasBeenPlayed="false" keep="true"/>
<include url="map.xml" />
<include url="scroll.xml" />
<!--************** Ouvre le premier pano ******************************************************-->
<include url="ChateauPC2.xml"/>
<plugin name="soundinterface" url="ChateauPCdata/graphics/soundinterface.swf" keep="true"/>
<!--************** Polices *********************************************************************-->
<textstyle name="DEFAULT" alpha="1" background="false" bold="true" border="false" effect="glow(0x000000,0.7,4,2);dropshadow(4,45,0x000000,4,1);" font="Vivaldi" fontsize="20" italic="false" textcolor="0x585858"/>
<textstyle name="menu" alpha="1" background="false" yoffset="-10" bold="false" border="false" font="High Tower Text" fontsize="14" italic="false" textcolor="0x585858"/>
<textstyle name="infostyle" background="false" font="High Tower Text" fontsize="18" bold="false" border="false" textalign="center" xoffset="20" yoffset="-10" textcolor="0xffffff" effect="glow(0x000000,0.7,4,2);" fadetime="0" fadeintime="0.5" />
<!--************** Reflets ********************************************************************-->
<lensflareset name="DEFAULT" url="ChateauPCdata/graphics/flares.jpg"/>
<!--************** Menu Haut **************************************************-->
<plugin
name="menutop"
url="ChateauPCdata/graphics/menutop.png"
keep="true"
visible="true"
enabled="true"
handcursor="false"
capture="false"
zorder="1"
alpha="1.00"
blendmode="normal"
smoothing="true"
align="top"
edge="centre"
x="0" y="0"
ox="0" oy="45"
rotate="0"
scale="1"
/>
<!--************** Menu Bas **************************************************-->
<plugin
name="menu"
url="ChateauPCdata/graphics/menubas.png"
keep="true"
visible="true"
enabled="true"
handcursor="false"
capture="false"
zorder="1"
alpha="1.00"
blendmode="normal"
smoothing="true"
align="bottom"
edge="bottom"
x="0" y="0"
ox="0" oy="0"
rotate="0"
scale="1"
/>
<!--************** Menu ***********************************************************************-->
<plugin name="in" align="bottomright" scale="0.6" parent="menu" keep="true" ondown="set(movevectorz,-1);" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Zoom +, menu);" onup="set(movevectorz,0);" url="ChateauPCdata/graphics/menu/menu0.png" x="410" y="15"/>
<plugin name="out" align="bottomright" scale="0.6" parent="menu" keep="true" ondown="set(movevectorz,+1);" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Zoom -, menu);" onup="set(movevectorz,0);" url="ChateauPCdata/graphics/menu/menu1.png" x="370" y="15"/>
<plugin name="left" align="bottomright" scale="0.6" parent="menu" keep="true" ondown="set(movevectorx,-1);" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Gauche, menu);" onup="set(movevectorx,0);" url="ChateauPCdata/graphics/menu/menu2.png" x="330" y="15"/>
<plugin name="right" align="bottomright" scale="0.6" parent="menu" keep="true" ondown="set(movevectorx,+1);" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Droite, menu);" onup="set(movevectorx,0);" url="ChateauPCdata/graphics/menu/menu3.png" x="250" y="15"/>
<plugin name="up" align="bottomright" scale="0.6" parent="menu" keep="true" ondown="set(movevectory,-1);" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Haut, menu);" onup="set(movevectory,0);" url="ChateauPCdata/graphics/menu/menu4.png" x="290" y="15"/>
<plugin name="down" align="bottomright" scale="0.6" parent="menu" keep="true" ondown="set(movevectory,+1);" onout="tween(scale,0.6)" onhover="tween(scale,1); showtext(Bas, menu);" onup="set(movevectory,0);" url="ChateauPCdata/graphics/menu/menu5.png" x="210" y="15"/>
<plugin name="home" align="bottomright" scale="0.6" parent="menu" blendmode="normal" keep="true" onclick="lookto(get(panoview.h),get(panoview.v),get(panoview.fov),smooth(100,20,50));" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Vue par défaut, menu);" url="ChateauPCdata/graphics/menu/menu6.png" x="170" y="15"/>
<plugin name="autorotation" align="bottomright" scale="0.6" parent="menu" blendmode="normal" keep="true" onclick="switch(autorotate.enabled);" onout="tween(scale,0.6);" onhover="tween(scale,1); showtext(Autorotation, menu);" url="ChateauPCdata/graphics/menu/menu9.png" x="130" y="15"/>
<plugin name="musique" align="bottomright" scale="0.7" parent="menu" blendmode="normal" keep="true" onclick="switch(soundinterface.mute);" onout="tween(scale,0.7);" onhover="tween(scale,1); showtext(Musique, menu);" url="ChateauPCdata/graphics/menu/menu10.png" x="90" y="15"/>
<!--************** Liste des panoramas **********************************************************-->
<plugin name="combobox" parent="menutop" visible="true" url="ChateauPCdata/graphics/combobox.swf" keep="true" align="lefttop" x="120" y="30"/>
<action name="combobox:La Cuverie">loadpano(ChateauPC1.xml,NULL,NULL,BLEND(1));</action>
<action name="combobox:La Salle de Dégustation">loadpano(ChateauPC0.xml,NULL,NULL,BLEND(1));</action>
<action name="combobox:Le Vignoble">loadpano(ChateauPC2.xml,NULL,NULL,BLEND(1));</action>
<!--************** Son d'ambiance **************************************************************-->
<action name="playbackgroundsound">if(%1 == none,stopallsounds();set(plugin[soundinterface].background,%1),if(plugin[soundinterface].background == %1,,stopallsounds();playsound(auto,%1,%2);set(plugin[soundinterface].background,%1)));</action>
<action name="closeglobalobjects" />
<!--************** Action du bouton d'accueil **************************************************-->
<plugin name="accueil" url="ChateauPCdata/graphics/hover.png" align="lefttop" onclickA="set(plugin[fond].visible, true); set(onclick, onclickB() ); set(plugin[histoire].onclick, onclickA() ); set(plugin[maptext].onclick, onclickB() );" onclickB="set(plugin[fond].visible, false); set(onclick, onclickA() ); set(plugin[histoire].onclick, onclickA() ); set(plugin[maptext].onclick, onclickA() );" onclick="onclickA();" scale="1" alpha="0" parent="menutop" keep="true" onhover="tween(alpha,0.6);" onout="tween(alpha,0);" x="157" y="67"/>
<plugin name="combotext" handcursor="false" parent="menutop" align="lefttop" x="120" y="15" scale="1" blendmode="normal" keep="true" visible="true" url="ChateauPCdata/graphics/combotext.png" />
<plugin name="maptext" handcursor="true" parent="menutop" align="righttop" x="120" y="15" scale="1" blendmode="normal" keep="true" visible="true" url="ChateauPCdata/graphics/maptext2.png" onclickA="set(onclick, onclickB() ); set(plugin[fond].visible, true); set(plugin[accueil].onclick, onclickB() ); set(plugin[histoire].onclick, onclickA() );" onclickB="set(onclick, onclickA() ); set(plugin[fond].visible, false); set(plugin[accueil].onclick, onclickA() ); set(plugin[histoire].onclick, onclickA() );" onclick="onclickA();" />
<!--************** Action du bouton histoire **************************************************-->
<plugin name="histoire" url="ChateauPCdata/graphics/hover.png" align="lefttop" onclickA="js(GB_showCenter(Un Peu d Histoire, html/histoire.html,600,1024)); set(onclick, onclickB() );set(plugin[fond].visible, false); set(plugin[accueil].onclick, onclickA() ); set(plugin[maptext].onclick, onclickA() );" onclickB="set(onclick, onclickA() );set(plugin[fond].visible, false); set(plugin[accueil].onclick, onclickA() ); set(plugin[maptext].onclick, onclickA() );" onclick="onclickA();" scale="1" alpha="0" parent="menutop" keep="true" onhover="tween(alpha,0.6);" onout="tween(alpha,0);" x="264" y="67"/>
<!--************** Action du bouton vin **************************************************-->
<plugin name="vin" url="ChateauPCdata/graphics/hover.png" align="righttop" onclickA="set(plugin[scroll].visible, true); set(onclick, onclickB() );" onclickB="set(plugin[scroll].visible, false); set(onclick, onclickA() );" onclick="onclickA();" scale="1" alpha="0" parent="menutop" keep="true" onhover="tween(alpha,0.6);" onout="tween(alpha,0);" x="264" y="67"/>
</krpano>
|