• <?xml version="1.0" 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>

  • Hi ,

    Erase all the code about <!-- the preview and pano image --> from your 1.xml (this file must refers to your thumbs only) !!!!

    Place the preview and pano image inside your krpano.xml

    Also, add the following ligne inside your 1.xml:

    Code
    <ThumbOffsetY>230</ThumbOffsetY>

    See here for more "explanation" about <ThumbOffsetY> : Scrolling Thumbnails

    SAlut.

  • Hi.
    I've been using this plugin with great success on my servers, until now.
    I just uploaded my site to my client's webserver and now this plugin won't scroll. The first 7 thumbs just sit there. I can't, for the life of me figure it out.
    Would the fact that my client's webserver is an IIS server make any difference? This is the only difference I can figure.

    I'll buy several beers for whoever helps me get this working! *w00t*

    Here are the specs:
    LINK:
    http://www.itsynaptic-1.com/test/rc1/index.html

    PLUGIN .XML:

    <?xml version="1.0" encoding="utf-8"?>

    <images>
    <thumboptions>
    <ScrollSpeed>10</ScrollSpeed>

    <thumbW>120</thumbW>
    <thumbH>60</thumbH>

    <ThumbPadding>20</ThumbPadding>
    <ShownThumbs>7</ShownThumbs>
    <ThumbOffset>200</ThumbOffset>
    <ThumbOffsetY>230</ThumbOffsetY>
    <textOffsetX>250</textOffsetX>
    <textOffsetY>190</textOffsetY>
    <InitialAlpha>.5</InitialAlpha>
    <font_type>Verdana</font_type>
    <font_size>20</font_size>
    <font_alpha>5</font_alpha>
    <font_color>0xffffff</font_color>
    <overColor>0x99ffff</overColor>
    <thumbMul>-7</thumbMul>
    <thumbDebug>0</thumbDebug>

    </thumboptions>

    <pic>
    <thumb>I-95_Center.tiles/preview.jpg</thumb>
    <panoToLoadXml>load15</panoToLoadXml>
    <about><![CDATA[I95]]></about>
    </pic>

    <pic>
    <thumb>0_CrewStateroom_2.tiles/preview.jpg</thumb>
    <panoToLoadXml>load16</panoToLoadXml>
    <about><![CDATA[CREW CABINS]]></about>
    </pic>

    <pic>
    <thumb>2_Restaurant_CrewMess.tiles/preview.jpg</thumb>
    <panoToLoadXml>load17</panoToLoadXml>
    <about><![CDATA[CREW CAFE]]></about>
    </pic>

    <pic>
    <thumb>3_CommonArea_CrewDeck.tiles/preview.jpg</thumb>
    <panoToLoadXml>load18</panoToLoadXml>
    <about><![CDATA[CREW DECK AND BAR]]></about>
    </pic>

    <pic>
    <thumb>3_Lounge_Dayroom_Billiards.tiles/preview.jpg</thumb>
    <panoToLoadXml>load19</panoToLoadXml>
    <about><![CDATA[CREW DAY ROOM]]></about>
    </pic>

    <pic>
    <thumb>1_Offices_CrewRelations.tiles/preview.jpg</thumb>
    <panoToLoadXml>load20</panoToLoadXml>
    <about><![CDATA[HR CENTER]]></about>
    </pic>

    <pic>
    <thumb>1_MedicalFacility_Reception.tiles/preview.jpg</thumb>
    <panoToLoadXml>load21</panoToLoadXml>
    <about><![CDATA[INFIRMARY]]></about>
    </pic>

    <pic>
    <thumb>OuterDeckMidship.tiles/preview.jpg</thumb>
    <panoToLoadXml>load7</panoToLoadXml>
    <about><![CDATA[OUTER DECK MIDSHIP]]></about>
    </pic>

    <pic>
    <thumb>3_CommonArea_Centrum-small.tiles/preview.jpg</thumb>
    <panoToLoadXml>load1</panoToLoadXml>
    <about><![CDATA[CENTRUM]]></about>
    </pic>

    <pic>
    <thumb>Bridge.tiles/preview.jpg</thumb>
    <panoToLoadXml>load2</panoToLoadXml>
    <about><![CDATA[THE BRIDGE]]></about>
    </pic>

    <pic>
    <thumb>StudioB.tiles/preview.jpg</thumb>
    <panoToLoadXml>load4</panoToLoadXml>
    <about><![CDATA[ICE RINK]]></about>
    </pic>

    <pic>
    <thumb>PlatinumTheater.tiles/preview.jpg</thumb>
    <panoToLoadXml>load5</panoToLoadXml>
    <about><![CDATA[PLATINUM THEATER]]></about>
    </pic>

    <pic>
    <thumb>Michelangelos.tiles/preview.jpg</thumb>
    <panoToLoadXml>load6</panoToLoadXml>
    <about><![CDATA[DINING ROOM]]></about>
    </pic>

    <pic>
    <thumb>Restaurant_Rembrandt.tiles/preview.jpg</thumb>
    <panoToLoadXml>load11</panoToLoadXml>
    <about><![CDATA[THE CAPTAIN'S TABLE]]></about>
    </pic>

    <pic>
    <thumb>Galley.tiles/preview.jpg</thumb>
    <panoToLoadXml>load13</panoToLoadXml>
    <about><![CDATA[GALLEY]]></about>
    </pic>

    <pic>
    <thumb>Rockwall.tiles/preview.jpg</thumb>
    <panoToLoadXml>load8</panoToLoadXml>
    <about><![CDATA[ATHLETIC COURT]]></about>
    </pic>

    <pic>
    <thumb>Helipad.tiles/preview.jpg</thumb>
    <panoToLoadXml>load10</panoToLoadXml>
    <about><![CDATA[HELIPAD]]></about>
    </pic>

    <pic>
    <thumb>Stateroom.tiles/preview.jpg</thumb>
    <panoToLoadXml>load14</panoToLoadXml>
    <about><![CDATA[LUXE STATEROOM]]></about>
    </pic>

    <pic>
    <thumb>Laundry.tiles/preview.jpg</thumb>
    <panoToLoadXml>load12</panoToLoadXml>
    <about><![CDATA[CHINATOWN]]></about>
    </pic>

    </images>

    HERE'S THE KRPANO .XML

    <krpano version="1.0.8" onstart="action(load7);">

    <plugin name="thumbnails" url="plugins/as3Thumbsforkrpano_Rev7/as3Thumbsforkrpano.swf?TheXML=./gallery1.xml" keep="true" align="bottomleft"/>

    <plugin name="cameracontrols"
    url="plugins/cameracontrols.swf"
    keep="true"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="0"
    alpha="1.00" blendmode="normal"
    smoothing="true"
    origin="leftbottom" edge=""
    x="20" y="20"
    width="130" height="100"
    scale="1"
    onloaded=""
    onover=""
    onhover=""
    onout=""
    ondown=""
    onup=""
    onclick=""
    ox=""
    oy=""
    rotate="0"
    zoom_refresh_fps="10"
    />

    <!-- actions -->

    <action name="load1">
    loadpano(3_CommonArea_Centrum-small.xml);
    </action>

    <action name="load2">
    loadpano(Bridge.xml);
    </action>

    <action name="load4">
    loadpano(StudioB.xml);
    </action>

    <action name="load5">
    loadpano(PlatinumTheater.xml);
    </action>

    <action name="load6">
    loadpano(Michelangelos.xml);
    </action>

    <action name="load7">
    loadpano(OuterDeckMidship.xml);
    </action>

    <action name="load8">
    loadpano(Rockwall.xml);
    </action>

    <action name="load10">
    loadpano(Helipad.xml);
    </action>

    <action name="load11">
    loadpano(Restaurant_Rembrandt.xml);
    </action>

    <action name="load12">
    loadpano(Laundry.xml);
    </action>

    <action name="load13">
    loadpano(Galley.xml);
    </action>

    <action name="load14">
    loadpano(Stateroom.xml);
    </action>

    <action name="load15">
    loadpano(I-95_Center.xml);
    </action>

    <action name="load16">
    loadpano(0_CrewStateroom_2.xml);
    </action>

    <action name="load17">
    loadpano(2_Restaurant_CrewMess.xml);
    </action>

    <action name="load18">
    loadpano(3_CommonArea_CrewDeck.xml);
    </action>

    <action name="load19">
    loadpano(3_Lounge_Dayroom_Billiards.xml);
    </action>

    <action name="load20">
    loadpano(1_Offices_CrewRelations.xml);
    </action>

    <action name="load21">
    loadpano(1_MedicalFacility_Reception.xml);
    </action>

    <events onxmlcomplete="action(qtvrcursor);"
    onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
    onexitfullscreen ="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"
    />

    <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);" />

    <plugin name="openfs" keep="true" url="buttons.jpg" crop="280|0|40|40" onovercrop="280|40|40|40" ondowncrop="280|80|40|40" blendmode="screen" onhover="showtext(Fullscreen, buttonstyle);" onclick="set(fullscreen,true);" visible="true" />
    <plugin name="closefs" keep="true" url="buttons.jpg" crop="320|0|40|40" onovercrop="320|40|40|40" ondowncrop="320|80|40|40" blendmode="screen" onhover="showtext(Exit Fullscreen,buttonstyle);" onclick="set(fullscreen,false);" visible="false" />

    <!-- actions to change the mouse cursor -->
    <action name="dragcursor">
    set(plugin[dragmode].visible, false);
    set(plugin[movemode].visible, true);

    set(control.mousetype, drag2D);

    set(cursors.url, %CURRENTXML%/drag-cursors.png);
    set(cursors.type, drag);
    set(cursors.move, 2|0|30|32);
    set(cursors.drag, 37|0|30|32);
    </action>

    <action name="qtvrcursor">
    set(plugin[dragmode].visible, true);
    set(plugin[movemode].visible, false);

    set(control.mousetype, moveto);

    set(cursors.url, %CURRENTXML%/qtvr-cursors.png);
    set(cursors.type, 8way);
    set(cursors.move, 0|0|16|16);
    set(cursors.drag, 16|0|16|16);
    set(cursors.arrow_u, 32|0|16|16);
    set(cursors.arrow_d, 48|0|16|16);
    set(cursors.arrow_l, 64|0|16|16);
    set(cursors.arrow_r, 80|0|16|16);
    set(cursors.arrow_lu, 96|0|16|16);
    set(cursors.arrow_ru, 112|0|16|16);
    set(cursors.arrow_rd, 128|0|16|16);
    set(cursors.arrow_ld, 144|0|16|16);
    </action>


    </krpano>

  • Thanks to Shanti for the original script.

    I did because i needed a change,

    1) Selected to highlight thumb with XML data, because the tour does not always begin with the first image.

    parameter: <NumSelThumb> 1 </ NumSelThumb>
    where 1 equals the number of thumb, starting from 0.

    2) Eliminate size effect.

    I do not know how to center ... are not experts in AS3 .. help would be appreciated ;)

    Modified script with 4 thumbs, start from 2 (1) visible on http://www.tour360.eu/panoramiche/santamaria/

    Best regards..
    Asperix

  • Hi,
    I do have an Inquiery about technical issue.
    I m facing of The FONTS of some titles have a slight shadow effect.
    How can i get rid of it?
    It is a visual distracting effect.
    Many Thks

  • I have an issue with the as3Thumbsforkrpano plugin,

    This works exactly like it should:
    http://virtualafrica.co.za/virtual_tours/…ml/giga_nav.xml

    This whites out the first thumbnail no matter which one i put first:
    http://virtualafrica.co.za/cms/krpano/plu…ml/giga_nav.xml

    The xml being called by both are exactly the same and the as3Thumbsforkrpano.swf files are also exactly the same, but the second url is giving me problems and i don't know why.

    If i set the InitialAlpha to 1 the first image goes white while the other behave as expected. I've puzzled you that it goes white because of the overColor setting, but if i omit the overColor it still happens.

    I have to get the second one working, please help.

  • Hallo,

    kann es sein, dass dieses Plugin im CMS Joomla eingebunden nicht funktioniert? Wenn ich eine Tour (menu.xml) mit dem Plugin über eine übliche HTML aufrufe, funktioniert es. Binde ich die "menu.xml" in Joomla-Content ein, werden keine Thumbs angezeigt. Hat jemand eine Erklärung dafür?

    Vielen Dank

  • I am trying to use scrolling thumbnails. after an absence from krpano I have forgotten everything *sad*
    nothing shows up.
    I assume <panoToLoadXml>thumbaction</panoToLoadXml> happens if the thumbnail is clicked but how is it called exactly ?
    can someone put a little zip somewhere with everything that is needed so it works, so I can follow how it works ?/
    [EDIT] oh hang on I just saw all the xml above . I'll go through that.

    cheers

    mick
    ps non of my previous links will work, I moved stuff to mickiwiki.com

  • hi,
    what is the expression for the transparency of the thumbnail after it has been clicked ?
    [EDIT]
    further to that is rev7 the last one because I prefered the earlier behaviour of the thumbnail. I do not like the cyan overlay that appears when the thumbnail is clicked, neutral would be better. Is it possible to change that in the .xml
    [edit] ok found the overlay color

    cheers

    ps I got married in peurto vallarta

  • thats very nice :) maybe you could share the code ? or the modifications made? :)

    Tourvista created a better looking thumbnail scroller http://virtualtour.orcawebsites.com/skipton/index_orca.html but I got no idea which one is it, anyone know?

  • I'm having a lot of trouble getting the bar in the bottom left hand corner. topleft is no problem but the thumbar is always high in the screen. I read about ThumbOffsetY but it is not making any difference.[edit] hmmm I had a value also in the gallery.xml so it is ok

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!