This post has been edited 4 times, last edit by "dsullyfoto" (Dec 6th 2012, 7:31pm)
|
|
Source code |
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 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<!-- Generated By Kolor Panotour 1.8.0 -->
<krpano onstart="
addbuttons();
buildmap(map1);
">
<include url="automap/automap.xml" />
<map name="map1"
keep="true"
editmode="false"
edge="righttop"
align="righttop"
x="10" y="10"
path="automap/"
map="map_images/map.jpg"
mask="map_images/mapmask.png"
zorder="1"
scale="1"
alpha="1"
radar_alpha="0.5"
radar_visible="true"
point_url="map_images/viewpoint.png"
point_crop="32"
onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);"
viewpoint_auto="false"
>
<viewpoint name="p1" scene="liv" x="182" y="75" heading="-10" scale="1" mask="map_images/maskliv.png"
onclick="gotoscene(liv);" onhover="showtext(Living,maponhovertext);" />
<viewpoint name="p2" scene="kit" x="290" y="54" heading="10" scale="1" mask="%CURRENTXML%/map_images/maskkit.png"
onclick="gotoscene(kit);" onhover="showtext(Kitchen,maponhovertext);" />
<viewpoint name="p3" scene="cor" x="178" y="164" heading="57" scale="1.5" mask="%CURRENTXML%/map_images/maskcor.png"
onclick="gotoscene(cor);" onhover="showtext(Corridor,maponhovertext);" />
<viewpoint name="p4" scene="bed" x="87" y="90" heading="165" scale="1" mask="%CURRENTXML%/map_images/maskbed.png"
onclick="gotoscene(bed);" onhover="showtext(Bedroom,maponhovertext);" />
<viewpoint name="p5" scene="bath" x="291" y="148" heading="-62" scale="1" mask="%CURRENTXML%/map_images/maskbath.png"
onclick="gotoscene(bath);" onhover="showtext(Bathroom,maponhovertext);" />
</map>
<scene name="liv" onstart="" >
<preview type="CUBESTRIP" url="Ww3VWO3.xml;" />
<view vlookat="0" hlookat="0" fov="80.0" />
</scene>
<scene name="kit" onstart="" >
<preview type="CUBESTRIP" url="panoramas/kit_preview.jpg" />
<view vlookat="0" hlookat="0" fov="80.0" />
</scene>
<scene name="cor" onstart="" >
<preview type="CUBESTRIP" url="panoramas/cor_preview.jpg" />
<view vlookat="0" hlookat="0" fov="80.0" />
</scene>
<scene name="bed" onstart="" >
<preview type="CUBESTRIP" url="panoramas/bed_preview.jpg" />
<view vlookat="0" hlookat="0" fov="80.0" />
</scene>
<scene name="bath" onstart="" >
<preview type="CUBESTRIP" url="panoramas/bath_preview.jpg" />
<view vlookat="0" hlookat="0" fov="80.0" />
</scene>
<scene name="fasad" onstart="" >
<preview type="CUBESTRIP" url="panoramas/fasad_preview.jpg" />
<view vlookat="0" hlookat="0" fov="80.0" />
</scene>
<action name="map_switchmode">
if(map[%1].editmode,
copy(map[%1].align,storealign);
copy(map[%1].edge,storeedge);
copy(map[%1].x,storex);
copy(map[%1].y,storey);
set(plugin[align].alpha,1);
set(plugin[align_buttonbg].alpha,1);
,
copy(storealign,map[%1].align);
copy(storeedge,map[%1].edge);
copy(storex,map[%1].x);
copy(storey,map[%1].y);
set(plugin[align].alpha,0.4);
set(plugin[align_buttonbg].alpha,0.4);
);
switch(map[%1].editmode,true,false);
buildmap(%1);
</action>
<action name="map_changeposition">
switch(map[%1].edge,righttop,center);
switch(map[%1].align,righttop,center);
switch(map[%1].x,10,0);
switch(map[%1].y,10,0);
buildmap(%1);
</action>
<action name="gotoscene"><!-- usage gotoscene(scenename,ath,atv,fov); -->
</action>
<action name="mainloadpano">
loadscene(%1, null, MERGE, BLEND(0.5));
if( %2 != 'null', set(view.hlookat,%2);,);
if( %3 != 'null', set(view.vlookat,%3);,);
if( %4 != 'null', set(view.fov,%4);,);
closepanoobjects();
ifnot(stopSequence === undefined,interruptAnimation(););
loadpano(%1,NULL,NULL,BLEND(1));
</action>
<plugin name="gyro" url="Ww3VWOdata/graphics/gyro.js" devices="ipad|iphone" keep="true" enabled="true"/>
<!--************** KrPano plugins and datas ***************************************************-->
<plugin name="data" firstPanoHasBeenPlayed="false" keep="true"/>
<!--************** Open the first pano ********************************************************-->
<include url="Ww3VWO0.xml"/>
<autorotate enabled="false"/>
<!--************** Fonts **********************************************************************-->
<textstyle name="DEFAULT" bold="false" font="Arial Narrow" fontsize="16" italic="false" textcolor="0xff000000"/>
<!--************** Introduction ***************************************************************-->
<action name="firstloadcompleteaction">
if(plugin[data].firstPanoHasBeenPlayed==false,
set(plugin[data].firstPanoHasBeenPlayed,true);
set(autorotate.enabled,true);
);
</action>
<!--************** Logos **********************************************************************-->
<plugin name="logo6" url="Ww3VWOdata/graphics/logo6.png" keep="true" align="leftbottom" x="10" y="10" width="119" height="61" onclick="openurl(http://www.profimage.nl/,_blank)"/>
<!--************** Menu ***********************************************************************-->
<plugin name="openfs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,true);" onout="" onover="" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu0.png" width="40" x="-20" y="10"/>
<plugin name="closefs" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="set(fullscreen,false);" onout="" onover="" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu1.png" visible="false" width="40" x="-20" y="10"/>
<plugin name="autorotationON" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationON].visible,false); set(plugin[autorotationOFF].visible,true);" onout="" onover="" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu2.png" visible="" width="40" x="20" y="10"/>
<plugin name="autorotationOFF" align="bottom" blendmode="normal" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="switch(autorotate.enabled);set(plugin[autorotationOFF].visible,false); set(plugin[autorotationON].visible,true);" onovercrop="0|65|65|65" url="Ww3VWOdata/graphics/menu/menu3.png" visible="" width="40" x="20" y="10"/>
<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
<!--************** Plugin Panotour Maps *******************************************************-->
<plugin name="panotourmaps" parent="STAGE" keep="true" devices="flash" url="Ww3VWOdata/graphics/PanotourMaps.swf" mapready="false" zoom="18" maptype="HYBRID" lat="52.3693008423" lng="4.90106010437" onmapready="set(mapready, true);panotourmapsactivespot(panotourmapsspot0);" align="right" y="0" height="100%" x="-25%" width="25%" mapgis="bing" key="AvTFt5kMcNklDQnxipo38lPSbusgPdBtPBXToM8w4yXwn4IdOZqNE8SY_hjsrPrw">
<radar visible="true" size="100" linecolor="0xffffff" linealpha="0.494118" fillcolor="0xffffff" fillalpha="0.494118"/>
<zoomcontrol visible="false"/>
<positioncontrol visible="false"/>
<maptypecontrol visible="false"/>
<spot name="panotourmapsspot0" onclick="mainloadpano(Ww3VWO0.xml);" url="Ww3VWOdata/graphics/spots/spot0.png" lat="52.3693580627" lng="4.90114307404" heading="115"/>
</plugin>
<plugin name="panotourmapsthumb" keep="true" devices="flash" url="Ww3VWOdata/graphics/strap.png" align="right" edge="left" rotate="180" handcursor="true" onclick="if (mapsopened == 'true', closepanotourmaps(), openpanotourmaps() );"/>
<action name="openpanotourmaps">
if (isflash,
set(plugin[panotourmapsthumb].mapsopened,'true');
tween(plugin[panotourmaps].x,0%);
tween(area.x,0%);
tween(area.width,75%);
if (mapready,
plugin[panotourmaps].showControls();
,);
,);
</action>
<action name="closepanotourmaps">
if (isflash,
set(plugin[panotourmapsthumb].mapsopened,'false');
tween(plugin[panotourmaps].x,-25%);
tween(area.x,0%);
tween(area.width,100%);
if (mapready,
plugin[panotourmaps].hideControls();
,);
,);
</action>
<plugin name="panotourmapsthumbicon" devices="flash" keep="true" rotate="180" parent="panotourmapsthumb" zorder="0" url="Ww3VWOdata/graphics/ptmaps_open.png" align="center" edge="center" capture="false" enabled="false"/>
<action name="panotourmapsactivespot">
if (isflash,
if (mapready,
plugin[panotourmaps].activatespot(%1);
plugin[panotourmaps].ensurespotvisible(%1);
,);
,);
</action>
<action name="panotourmapsunactivespots">
if (isflash,
if (mapready,
plugin[panotourmaps].activatespot(none);
,);
,);
</action>
<!-- Raise sequence stopper and wait sequence time to break the delayed calls -->
<action name="interruptAnimation">
ifnot (stopSequence === undefined,
set(stopSequence, true);
wait(0);
);
</action>
</krpano>
|
This post has been edited 2 times, last edit by "andrew22222" (Sep 19th 2013, 12:50am)