I can't get my active spot visible on my floorplan. I have created a tour which has a floorplan in a scrollarea. All spots are visible (blue) but not the active spot (green) i want to have the active panorama on a greenspot.
I have a tour which has a scalable floorplan where this works: http://77.248.102.192/360/tour_walibi/tour/index.html
Here's my floorplan.xml code:
Code
<krpano version="1.16.3" logkey="true" showerrors="true" >
<textstyle name="SKIN_TOOLTIPS" font="Arial" fontsize="14" bold="true" italic="false" background="false" border="false" textcolor="0xFFFFFF" effect="dropshadow(1,45,0x000000,4,1);" fadeintime="0.1" fadetime="0.05" />
<style name="spot" url="map/inactief.png" align="lefttop" alpha="1" scale="0.5" edge="bottom" oy="4" zorder="90"/>
<!-- START FLOORPLAN -->
<layer name="floorplan" keep="true" type="container" align="leftbottom" width="55%" height="100%" x="-55%" y="0" state="closed" zorder="25">
<layer name="mapicon" url="map/map_tab2.png" scale="0.85" alpha="1.0" align="rightbottom" x="0" y="65" edge="leftbottom" onclick="if(layer[floorplan].state == 'closed', tween(layer[floorplan].x,0,1.2,easeOutQuint), tween(layer[floorplan].x,-55%,1.2,easeOutQuint)); switch(layer[floorplan].state,'closed','opened');" />
<layer name="thumbfloor" keep="true" type="container" align="righttop" width="100%" height="100%" x="0" y="0" bgcolor="0x000000" bgalpha="0.8">
<layer name="scrollarea" url="%SWFPATH%/../plugins/scrollarea.swf" alturl="%SWFPATH%/../plugins/scrollarea.js" align="rightbottom" width="1206" height="1550" direction="all" >
<layer name="map" url="map/map.png" align="lefttop" >
<layer name="spot1" style="spot" x="451" y="1020" onclick="loadscene(woonkamer,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('woonkamer',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
<layer name="spot2" style="spot" x="864" y="1086" onclick="loadscene(keuken,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('keuken',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
<layer name="spot3" style="spot" x="680" y="1282" onclick="loadscene(gang,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('gang',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
<layer name="spot4" style="spot" x="716" y="493" onclick="loadscene(overloop,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('overloop',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
<layer name="spot5" style="spot" x="806" y="288" onclick="loadscene(slaapkamer,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('slaapkamer',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
<layer name="spot6" style="spot" x="912" y="505" onclick="loadscene(badkamer,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('badkamer',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
<layer name="spot7" style="spot" x="200" y="1294" onclick="loadscene(studiekamer,null,MERGE,BLEND(0.5)); tween(layer[floorplan].x,-55%,1.2,easeOutQuint));" onhover="showtext('studiekamer',SKIN_TOOLTIPS);" onover="tween(scale, 0.6,0.5);" onout="tween(scale, 0.5,0.5);"/>
</layer>
</layer>
<plugin name="actievespot" parent="floorplan" keep="true" url="map/actief.png" scale="0.5" align="center" edge="center" />
</layer>
</layer>
<!-- / END FLOORPLAN -->
<!-- / LOGO -->
<layer name="bar" keep="true" type="container" bgcolor="0xFFFFFF" bgalpha="0.2" align="lefttop" width="100%" height="64" x="0" y="20" y_opened="20" y_closed="-42" zorder="3">
<layer name="logo" url="map/logo_bar.png" zorder="2" align="lefttop" edge="lefttop" x="0" y="0" alpha="1" keep="true" selectable="false" handcursor="true" onclick="openurl(http://www.http://www.carbontree.in,_blank);"/>
</layer>
<!-- / END LOGO -->
</krpano>
Display More
In my pano.xml i use this:
Code
<scene name="woonkamer" title="woonkamer" thumburl="panos/woonkamer.tiles/thumb.jpg" heading="0.0" onstart="set(plugin[actievespot].x, get(plugin[spot1].x));set(plugin[actievespot].y, get(plugin[spot1].y));">
Here's a preview of the tour right now: http://77.248.102.192/360/carbontree/tour/index.html
Can someone help?
The floorplan and pano.xml are attached.