I need the combo box to load in the first scene only. Here's an example of the corfu tour with three scenes.
I've included keep="false" within the combo box element in the 1st scene. You would expect it should appear every time you load the 1st scene ONLY.
The combo box will keep appearing in the second and third scenes but will disappear on re-entering the 1st scene and not appear again on any subsequent scene change.
( I've tested with the previous version of the combo box using the swf and js files, it was working correctly--could this be a bug in the new xml version?)
Any suggestion?
Code
<krpano title="Corfu Holiday Trip">
<include url="skin/vtourskin.xml" />
<include url="%VIEWER%/plugins/combobox.xml" />
<!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... -->
<skin_settings maps="true"
maps_type="custom"
maps_bing_api_key=""
maps_google_api_key=""
maps_zoombuttons="false"
maps_loadonfirstuse="true"
gyro="true"
gyro_keeplookingdirection="false"
webvr="true"
webvr_keeplookingdirection="true"
webvr_prev_next_hotspots="true"
littleplanetintro="false"
followmousecontrol="false"
title="true"
thumbs="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop=""
thumbs_opened="false"
thumbs_text="true"
thumbs_dragging="true"
thumbs_onhoverscrolling="false"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_buttons="false"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
deeplinking="false"
loadscene_flags="MERGE"
loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
loadingtext="loading..."
layout_width="100%"
layout_maxwidth="814"
controlbar_width="-24"
controlbar_height="40"
controlbar_offset="20"
controlbar_offset_closed="-40"
controlbar_overlap.no-fractionalscaling="10"
controlbar_overlap.fractionalscaling="0"
design_skin_images="vtourskin.png"
design_bgcolor="0x304954"
design_bgalpha="0.7"
design_bgborder="0"
design_bgroundedge="1"
design_bgshadow="0 4 10 0x000000 0.3"
design_thumbborder_bgborder="3 0xFFFFFF 1.0"
design_thumbborder_padding="2"
design_thumbborder_bgroundedge="0"
design_text_css="color:#FFFFFF; font-family:Arial;"
design_text_shadow="1"
/>
<!-- startup action - load the first scene -->
<action name="startup" autorun="onstart">
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
loadscene(get(startscene), null, MERGE);
if(startactions !== null, startactions() );
</action>
<scene name="scene_achilleion-hof-unten" title="Achilleion - Garden" onstart="" thumburl="panos/achilleion-hof-unten.tiles/thumb.jpg" lat="39.563340" lng="19.904324" heading="0.0">
<view hlookat="-1" vlookat="11" fovtype="MFOV" fov="120" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/achilleion-hof-unten.tiles/preview.jpg" />
<image>
<cube url="panos/achilleion-hof-unten.tiles/mobile_%s.jpg" if="browser.domain != 'krpano.com'" />
<cube url="https://krpano.com/tours/corfu/panos/achilleion-hof-unten.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,768,1536,2816" if="browser.domain == 'krpano.com'" />
</image>
<!-- static example -->
<combobox name="cbsettings" keep="false" design="vtour" align="righttop" x="10" y="10" onchange="selectItemByName(0);">
<item name="item0" caption="SETTINGS" />
<item name="item1" caption="Drag Control" onclick="set(control.mouse,drag); set(control.touch,drag);" />
<item name="item2" caption="Move Control" onclick="set(control.mouse,moveto); set(control.touch,moveto);" />
<item name="item3" caption="Normal View" onclick="cm_normal_view();" />
<item name="item4" caption="Fisheye View" onclick="cm_fisheye_view();" />
<item name="item5" caption="Stereographic View" onclick="cm_stereographic_view();" />
<item name="item6" caption="Architectural View" onclick="cm_architectural_view();" />
<item name="item7" caption="Pannini View" onclick="cm_pannini_view();" />
<item name="item8" caption="Little Planet View" onclick="cm_littleplanet_view();" />
</combobox>
</scene>
<scene name="scene_canaldemure5" title="Canal d´Amour 2" onstart="" thumburl="panos/canaldemure5.tiles/thumb.jpg" lat="39.796233694" lng="19.70181763" heading="0.0">
<view hlookat="-118" vlookat="4" fovtype="MFOV" fov="132" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/canaldemure5.tiles/preview.jpg" />
<image>
<cube url="panos/canaldemure5.tiles/mobile_%s.jpg" if="browser.domain != 'krpano.com'" />
<cube url="https://krpano.com/tours/corfu/panos/canaldemure5.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,768,1536,2816" if="browser.domain == 'krpano.com'" />
</image>
</scene>
<scene name="scene_kalamaki-strand" title="Kalamaki Beach 2" onstart="" thumburl="panos/kalamaki-strand.tiles/thumb.jpg" lat="39.7989065" lng="19.8847845" heading="0.0">
<view hlookat="18" vlookat="1" fovtype="MFOV" fov="120" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/kalamaki-strand.tiles/preview.jpg" />
<image>
<cube url="panos/kalamaki-strand.tiles/mobile_%s.jpg" if="browser.domain != 'krpano.com'" />
<cube url="https://krpano.com/tours/corfu/panos/kalamaki-strand.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,1152,2176" if="browser.domain == 'krpano.com'" />
</image>
</scene>
</krpano>
Display More