preloadSounds();
if (skipintro !== null, skipintroaction(); );
if (s !== null, if (startscene === null, set(startscene, get(s));); );
if (startscene === null,
set(startscene, pano45);
);
mainloadscene(get(startscene));
if (h !== null,
if (v !== null,
if (f !== null,
lookat(get(h), get(v), get(f));
,
lookat(get(h), get(v));
);
);
);
mainloadscene(pano44);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano46);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano48);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
set(hotspot[spotpoint65].visible, false);
set(hotspot[spotpoint71].visible, false);
set(hotspot[spotpoint72].visible, false);
set(hotspot[spotpoint65].visible, true);
set(hotspot[spotpoint71].visible, true);
set(hotspot[spotpoint72].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint65].zorder2, %1);
tween(hotspot[spotpoint71].zorder2, %1);
tween(hotspot[spotpoint72].zorder2, %1);
);
);
mainloadscene(pano39);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano45);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano46);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
set(hotspot[spotpoint74].visible, false);
set(hotspot[spotpoint75].visible, false);
set(hotspot[spotpoint86].visible, false);
set(hotspot[spotpoint74].visible, true);
set(hotspot[spotpoint75].visible, true);
set(hotspot[spotpoint86].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint74].zorder2, %1);
tween(hotspot[spotpoint75].zorder2, %1);
tween(hotspot[spotpoint86].zorder2, %1);
);
);
mainloadscene(pano43);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano44);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano47);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano49);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano48);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano143);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
openSpotDescription-description(get(descriptionid));
playsound3Dwhenpossible(soundspotpoint453, %$videos_sounds_path%/sounds/statue_of_mary.mp3, true, true, -6.971040, -20.218679, 90, 1, spotpoint453);
set(hotspot[spotpoint64].visible, false);
set(hotspot[spotpoint67].visible, false);
set(hotspot[spotpoint69].visible, false);
set(hotspot[spotpoint77].visible, false);
set(hotspot[spotpoint91].visible, false);
set(hotspot[spotpoint147].visible, false);
set(hotspot[spotpoint211].visible, false);
set(hotspot[spotpoint453].visible, false);
set(hotspot[spotpoint64].visible, true);
set(hotspot[spotpoint67].visible, true);
set(hotspot[spotpoint69].visible, true);
set(hotspot[spotpoint77].visible, true);
set(hotspot[spotpoint91].visible, true);
set(hotspot[spotpoint147].visible, true);
set(hotspot[spotpoint211].visible, true);
set(hotspot[spotpoint453].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint64].zorder2, %1);
tween(hotspot[spotpoint67].zorder2, %1);
tween(hotspot[spotpoint69].zorder2, %1);
tween(hotspot[spotpoint77].zorder2, %1);
tween(hotspot[spotpoint91].zorder2, %1);
tween(hotspot[spotpoint147].zorder2, %1);
tween(hotspot[spotpoint211].zorder2, %1);
tween(hotspot[spotpoint453].zorder2, %1, 0.5, default, copy(urlbckpspotpoint453, hotspot[spotpoint453].url); set(hotspot[spotpoint453].url, ""); copy(hotspot[spotpoint453].url, urlbckpspotpoint453););
);
);
mainloadscene(pano39);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
openSpotDescription-description(get(descriptionid));
playsound3Dwhenpossible(soundspotpoint513, %$videos_sounds_path%/sounds/niche_of_the_madonna_.mp3, true, true, 26.991005, 20.934362, 90, 1, spotpoint513);
set(hotspot[spotpoint68].visible, false);
set(hotspot[spotpoint210].visible, false);
set(hotspot[spotpoint513].visible, false);
set(hotspot[spotpoint68].visible, true);
set(hotspot[spotpoint210].visible, true);
set(hotspot[spotpoint513].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint68].zorder2, %1);
tween(hotspot[spotpoint210].zorder2, %1);
tween(hotspot[spotpoint513].zorder2, %1, 0.5, default, copy(urlbckpspotpoint513, hotspot[spotpoint513].url); set(hotspot[spotpoint513].url, ""); copy(hotspot[spotpoint513].url, urlbckpspotpoint513););
);
);
mainloadscene(pano45);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano39);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
openSpotDescription-description(get(descriptionid));
openSpotDescription-description(get(descriptionid));
playsound3Dwhenpossible(soundspotpoint512, %$videos_sounds_path%/sounds/the_virgin_of_the_angels.mp3, true, true, 83.118246, 7.335895, 90, 1, spotpoint512);
playsound3Dwhenpossible(soundspotpoint514, %$videos_sounds_path%/sounds/pieta768_del_montagna_.mp3, true, true, 22.343767, 6.262379, 90, 1, spotpoint514);
set(hotspot[spotpoint73].visible, false);
set(hotspot[spotpoint87].visible, false);
set(hotspot[spotpoint212].visible, false);
set(hotspot[spotpoint216].visible, false);
set(hotspot[spotpoint512].visible, false);
set(hotspot[spotpoint514].visible, false);
set(hotspot[spotpoint73].visible, true);
set(hotspot[spotpoint87].visible, true);
set(hotspot[spotpoint212].visible, true);
set(hotspot[spotpoint216].visible, true);
set(hotspot[spotpoint512].visible, true);
set(hotspot[spotpoint514].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint73].zorder2, %1);
tween(hotspot[spotpoint87].zorder2, %1);
tween(hotspot[spotpoint212].zorder2, %1);
tween(hotspot[spotpoint216].zorder2, %1);
tween(hotspot[spotpoint512].zorder2, %1, 0.5, default, copy(urlbckpspotpoint512, hotspot[spotpoint512].url); set(hotspot[spotpoint512].url, ""); copy(hotspot[spotpoint512].url, urlbckpspotpoint512););
tween(hotspot[spotpoint514].zorder2, %1, 0.5, default, copy(urlbckpspotpoint514, hotspot[spotpoint514].url); set(hotspot[spotpoint514].url, ""); copy(hotspot[spotpoint514].url, urlbckpspotpoint514););
);
);
mainloadscene(pano45);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
set(hotspot[spotpoint76].visible, false);
set(hotspot[spotpoint76].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash,
set(spotsound93_started, true);
set(spotsound93_paused, false);
playsound3D(spotsound93, "johann_pachelbel_-_canon_in_d_major__organ_church_version_.mp3", 6.613704, -9.483101, 90, get(volume), 1);
);
);
if(device.flash,set(spotsound93_started, false);set(spotsound93_paused, false);stopsound(spotsound93););
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
);
if(spotsound93_started,
ifnot(spotsound93_paused,
if(device.flash,set(spotsound93_paused, true);pausesound(spotsound93););
);
);
if(tour_soundson,
div(volume, tour_soundsvolume, 100);
set(killDirectionnalSound, false);
for(set(hotspotSoundi, 0), hotspotSoundi LT hotspot.count, inc(hotspotSoundi),
if(hotspot[get(hotspotSoundi)].pauseothersounds,
if(hotspot[get(hotspotSoundi)].stateVideo == 'playing',
set(killDirectionnalSound, true);
);
);
);
ifnot (killDirectionnalSound,
if(spotsound93_started,
if(spotsound93_paused,
if(device.flash,set(spotsound93_paused, false);resumesound(spotsound93););
);
,
if(device.flash,
set(spotsound93_started, true);
set(spotsound93_paused, false);
playsound3D(spotsound93, "johann_pachelbel_-_canon_in_d_major__organ_church_version_.mp3", 6.613704, -9.483101, 90, get(volume), 1);
);
);
);
,
);
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint76].zorder2, %1);
);
);
mainloadscene(pano47);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano39);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
openSpotDescription-description(get(descriptionid));
playsound3Dwhenpossible(soundspotpoint454, %$videos_sounds_path%/sounds/thechoir.mp3, true, true, -80.615519, 6.620218, 90, 1, spotpoint454);
set(hotspot[spotpoint145].visible, false);
set(hotspot[spotpoint148].visible, false);
set(hotspot[spotpoint215].visible, false);
set(hotspot[spotpoint454].visible, false);
set(hotspot[spotpoint145].visible, true);
set(hotspot[spotpoint148].visible, true);
set(hotspot[spotpoint215].visible, true);
set(hotspot[spotpoint454].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint145].zorder2, %1);
tween(hotspot[spotpoint148].zorder2, %1);
tween(hotspot[spotpoint215].zorder2, %1);
tween(hotspot[spotpoint454].zorder2, %1, 0.5, default, copy(urlbckpspotpoint454, hotspot[spotpoint454].url); set(hotspot[spotpoint454].url, ""); copy(hotspot[spotpoint454].url, urlbckpspotpoint454););
);
);
mainloadscene(pano39);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
mainloadscene(pano143);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
set(hotspot[spotpoint70].visible, false);
set(hotspot[spotpoint146].visible, false);
set(hotspot[spotpoint70].visible, true);
set(hotspot[spotpoint146].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash,
set(spotsound92_started, true);
set(spotsound92_paused, false);
playsound3D(spotsound92, "gregorian_chant_benedictinos.mp3", 8.424003, 4.990497, 90, get(volume), 1);
);
);
if(device.flash,set(spotsound92_started, false);set(spotsound92_paused, false);stopsound(spotsound92););
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
);
if(spotsound92_started,
ifnot(spotsound92_paused,
if(device.flash,set(spotsound92_paused, true);pausesound(spotsound92););
);
);
if(tour_soundson,
div(volume, tour_soundsvolume, 100);
set(killDirectionnalSound, false);
for(set(hotspotSoundi, 0), hotspotSoundi LT hotspot.count, inc(hotspotSoundi),
if(hotspot[get(hotspotSoundi)].pauseothersounds,
if(hotspot[get(hotspotSoundi)].stateVideo == 'playing',
set(killDirectionnalSound, true);
);
);
);
ifnot (killDirectionnalSound,
if(spotsound92_started,
if(spotsound92_paused,
if(device.flash,set(spotsound92_paused, false);resumesound(spotsound92););
);
,
if(device.flash,
set(spotsound92_started, true);
set(spotsound92_paused, false);
playsound3D(spotsound92, "gregorian_chant_benedictinos.mp3", 8.424003, 4.990497, 90, get(volume), 1);
);
);
);
,
);
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpoint70].zorder2, %1);
tween(hotspot[spotpoint146].zorder2, %1);
);
);
displayImage( %FIRSTXML%/spots/veronese-_dinner-of-san-gregory.jpg
,center,0,0
,'',''
,false
,false
);
set(hotspot[spotpolygon80].visible, false);
set(hotspot[spotpolygon80].visible, true);
mainloadscene(pano39);
lookat(get(panoview.h), get(panoview.v), get(panoview.fov));
openSpotDescription-description(get(descriptionid));
playsound3Dwhenpossible(soundspotpoint452, %$videos_sounds_path%/sounds/dinner_veronese.mp3, true, true, 16.981194, 14.850898, 90, 1, spotpoint452);
set(hotspot[spotpoint78].visible, false);
set(hotspot[spotpoint213].visible, false);
set(hotspot[spotpoint452].visible, false);
set(hotspot[spotpoint78].visible, true);
set(hotspot[spotpoint213].visible, true);
set(hotspot[spotpoint452].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
showpanopolygonalspots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
hidepanopolygonalspots();
if (device.html5,
ifnot (device.desktop,
tween(hotspot[spotpolygon80].zorder2, %1);
tween(hotspot[spotpoint78].zorder2, %1);
tween(hotspot[spotpoint213].zorder2, %1);
tween(hotspot[spotpoint452].zorder2, %1, 0.5, default, copy(urlbckpspotpoint452, hotspot[spotpoint452].url); set(hotspot[spotpoint452].url, ""); copy(hotspot[spotpoint452].url, urlbckpspotpoint452););
);
);
set(events[eventKrpanoLoadedEvts].name, null);
js(eventKrpanoLoaded());