Hello to all,
I spent the last days working on implementing the scrolling thumbnails. But, whatever I do, it is not working. I can only see my panorama without thumbs.
I work with Mac and the browser is Safari.
I tried to make sure that the structure is the same as described.
When I open my panorama in Safari I get the following error message: file:///Users/wilfried/Pictures/Panoramen/Thumbnails/undefined.
Everything else including file:///Users/wilfried/Pictures/Panoramen/Thumbnails/as3Thumbsforkrpano.swf?TheXML=1.xml was found.
I really don't know what I do wrong and I would appreciate any help in solving my problem.
Thank you so much!!!!! Wilfried
This is my complete xml
tour.xml
<krpano version="1.0.8" onstart="action(Museum1);">
<plugin name="thumbnails"
url="as3Thumbsforkrpano.swf?TheXML=1.xml"
align="leftbottom"
keep="true"
/>
<memory maxmem="350" />
<network downloadqueues="" decodequeues="" />
<events onenterfullscreen=""
onexitfullscreen=""
/>
<progress showload="bar(lefttop,8%,6,3,3,solid, 0x000000,0xFFCC00,0xFFCC00)" showwait="none" />
<display fps="60"
details="32"
tessmode="0"
movequality="LOW"
stillquality="HIGH"
/>
<contextmenu fullscreen="true">
</contextmenu>
<autorotate enabled ="false"
waittime="3.0"
accel ="1"
speed ="2.5"
horizon ="0"
tofov ="NaN"
/>
<textstyle name="default" font="Times" fontsize="12" bold="true" italic="false"
textcolor="0" background="true" backgroundcolor="16777215" border="true" bordercolor="0"
alpha="1" blendmode="normal" effect=""
origin="cursor" edge="bottom" textalign="none" xoffset="0" yoffset="-3" showtime="0.1" noclip="true"
/>
<!-- showtext styles -->
<textstyle name="buttonstyle"
font="Arial" fontsize="10"
border="false" background="false"
textcolor="0xFFFFFF"
effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);"
/>
<!-- plugins -->
<!-- button over effect -->
<action name="overeffect">
set(blendmode,add);
tween(plugin[in].scale,1);
tween(plugin[out].scale,1);
tween(plugin[left].scale,1);
tween(plugin[right].scale,1);
tween(plugin[up].scale,1);
tween(plugin[down].scale,1);
tween(plugin[home].scale,1);
tween(plugin[openfs].scale,1);
tween(plugin[closefs].scale,1);
tween(plugin[in].x,-160);
tween(plugin[out].x,-120);
tween(plugin[left].x,-80);
tween(plugin[right].x,-40);
tween(plugin[up].x,0);
tween(plugin[down].x,40);
tween(plugin[home].x,80);
tween(plugin[openfs].x,120);
tween(plugin[closefs].x,120);
</action>
<!-- button out effect -->
<action name="outeffect">
set(blendmode,screen);
tween(plugin[in].scale,0.5);
tween(plugin[out].scale,0.5);
tween(plugin[left].scale,0.5);
tween(plugin[right].scale,0.5);
tween(plugin[up].scale,0.5);
tween(plugin[down].scale,0.5);
tween(plugin[home].scale,0.5);
tween(plugin[openfs].scale,0.5);
tween(plugin[closefs].scale,0.5);
tween(plugin[in].x,-80);
tween(plugin[out].x,-60);
tween(plugin[left].x,-40);
tween(plugin[right].x,-20);
tween(plugin[up].x,0);
tween(plugin[down].x,20);
tween(plugin[home].x,40);
tween(plugin[openfs].x,60);
tween(plugin[closefs].x,60);
</action>
<!-- direction/zoom buttons -->
<plugin name="in" url="btn_plus.jpg" align="bottom" edge="bottom" y="20" x="-80" scale="0.5" blendmode="screen" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="out" url="btn_minus.jpg" align="bottom" edge="bottom" y="20" x="-60" scale="0.5" blendmode="screen" ondown="set(movevectorz,+1);" onup="set(movevectorz,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="left" url="btn_left.jpg" align="bottom" edge="bottom" y="20" x="-40" scale="0.5" blendmode="screen" ondown="set(movevectorx,-1);" onup="set(movevectorx,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="right" url="btn_right.jpg" align="bottom" edge="bottom" y="20" x="-20" scale="0.5" scale="0.5" blendmode="screen" ondown="set(movevectorx,+1);" onup="set(movevectorx,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="up" url="btn_up.jpg" align="bottom" edge="bottom" y="20" x="-0" scale="0.5" blendmode="screen" ondown="set(movevectory,-1);" onup="set(movevectory,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="down" url="btn_down.jpg" align="bottom" edge="bottom" y="20" x="+20" scale="0.5" blendmode="screen" ondown="set(movevectory,+1);" onup="set(movevectory,0);" onover="action(overeffect);" onout="action(outeffect);" />
<!-- hotspot/home/info/fullscreen buttons -->
<plugin name="home" url="btn_home.jpg" align="bottom" edge="bottom" y="20" x="+40" scale="0.5" blendmode="screen" onhover="showtext(Move to Home, buttonstyle);" onover="action(overeffect);" onout="action(outeffect);" onclick="lookto(0.0,0.0,97);" />
<plugin name="openfs" url="btn_openfs.jpg" visible="true" align="bottom" edge="bottom" y="20" x="+60" scale="0.5" blendmode="screen" onhover="showtext(Enter Fullscreen, buttonstyle);" onover="action(overeffect);" onout="action(outeffect);" onclick="set(fullscreen,true);" />
<plugin name="closefs" url="btn_closefs.jpg" visible="false" align="bottom" edge="bottom" y="20" x="+60" scale="0.5" blendmode="screen" onhover="showtext(Exit Fullscreen, buttonstyle);" onover="action(overeffect);" onout="action(outeffect);" onclick="set(fullscreen,false);" />
<!-- fullscreen events -->
<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"
/>
<!-- actions -->
<action name="Museum1">
loadpano(1.xml,null,KEEPALL,BLEND(2));
lookat(5,0,90);
wait(blend);
</action>
<action name="Museum2">
loadpano(2.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>
<action name="Museum3">
loadpano(3.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>
<action name="Museum4">
loadpano(4.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>
<action name="Museum5">
loadpano(5.xml,null,KEEPALL,BLEND(2));
lookat(0,0,90);
wait(blend);
</action>
</krpano>
1.xml
<krpano version="1.0.8" encoding="utf-8" >
<images>
<thumboptions>
<thumbW>140</thumbW>
<thumbH>70</thumbH>
<ThumbOffset>0</ThumbOffset>
<InitialAlpha>0.2</InitialAlpha>
<ThumbPadding>10</ThumbPadding>
<ScrollSpeed>20</ScrollSpeed>
<ShownThumbs>5</ShownThumbs>
<font_type>Arial</font_type>
<font_size>20</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>
</thumboptions>
<pic>
<thumb>thumbs/01.jpg</thumb>
<panoToLoadXml>Museum1</panoToLoadXml>
<about>Panorama 1</about>
</pic>
<pic>
<thumb>thumbs/02.jpg</thumb>
<panoToLoadXml>Museum2</panoToLoadXml>
<about>Panorama 2</about>
</pic>
<pic>
<thumb>thumbs/03.jpg</thumb>
<panoToLoadXml>Museum3</panoToLoadXml>
<about>Panorama 3</about>
</pic>
<pic>
<thumb>thumbs/04.jpg</thumb>
<panoToLoadXml>Museum4</panoToLoadXml>
<about>Panorama 4</about>
</pic>
<pic>
<thumb>thumbs/05.jpg</thumb>
<panoToLoadXml>Museum5</panoToLoadXml>
<about>Panorama 5</about>
</pic>
</images>
<!-- the preview and pano image -->
<preview type="CUBESTRIP" url="cube_1.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="524">
<level tiledimagewidth="3144" tiledimageheight="3144">
<left url="cube_1.tiles/l3_l_%0v_%0h.jpg" />
<front url="cube_1.tiles/l3_f_%0v_%0h.jpg" />
<right url="cube_1.tiles/l3_r_%0v_%0h.jpg" />
<back url="cube_1.tiles/l3_b_%0v_%0h.jpg" />
<up url="cube_1.tiles/l3_u_%0v_%0h.jpg" />
<down url="cube_1.tiles/l3_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1572" tiledimageheight="1572">
<left url="cube_1.tiles/l2_l_%0v_%0h.jpg" />
<front url="cube_1.tiles/l2_f_%0v_%0h.jpg" />
<right url="cube_1.tiles/l2_r_%0v_%0h.jpg" />
<back url="cube_1.tiles/l2_b_%0v_%0h.jpg" />
<up url="cube_1.tiles/l2_u_%0v_%0h.jpg" />
<down url="cube_1.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="786" tiledimageheight="786">
<left url="cube_1.tiles/l1_l_%0v_%0h.jpg" />
<front url="cube_1.tiles/l1_f_%0v_%0h.jpg" />
<right url="cube_1.tiles/l1_r_%0v_%0h.jpg" />
<back url="cube_1.tiles/l1_b_%0v_%0h.jpg" />
<up url="cube_1.tiles/l1_u_%0v_%0h.jpg" />
<down url="cube_1.tiles/l1_d_%0v_%0h.jpg" />
</level>
</image>
</krpano>