• It may be help you,

    <action name="auto">
    oninterrupt(break);wait(10);lookto(360,0,90,smooth(7,7,7), false);nextscene();wait(8);
    lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);
    lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);
    lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);
    ..........................................
    ..........................................
    ..........................................
    ..........................................
    lookto(360,0,90,smooth(7,7,7), false);wait(3);nextscene();wait(8);auto();

    </action>


    <action name="prevscene">
    if(%1 != findnext, sub(i,scene.count,1));
    txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
    if(scenexml == xml.content,
    dec(i);
    if(i LT 0, sub(i,scene.count,1));
    loadscene(get(scene[%i].name), null, MERGE, BLEND(1));closethumbs(get(thumbname));
    ,
    dec(i);
    if(i GE 0, prevscene(findnext));
    );
    </action>

    <action name="nextscene">
    if(%1 != findnext, set(i,0));
    txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
    if(scenexml == xml.content,
    inc(i);
    if(i == scene.count, set(i,0));
    loadscene(get(scene[%i].name), null, MERGE, BLEND(1));closethumbs(get(thumbname));
    ,
    inc(i);
    if(i LT scene.count, nextscene(findnext));
    );
    </action>

  • Hi, Thanks for all your inputs, I tried one with a more simple coding and it worked but not interactive (only for AV Presentation)
    I used the autorotate


    <autorotate enabled="true"
    waittime="2"
    speed="3.5"
    />

    <scene name="scene_ma1pano" title="WELCOME" onstart="scene2" thumburl="panos/ma1-pano.tiles/thumb.jpg" lat="" lng="" heading="">

    <events name="scene2"
    onloadcomplete="delayedcall(100, looktohotspot(spot2); loadscene(scene_ma2pano); );"
    />

    and manually timed the delayedcall 100 to complete a full 360 rotation before loading scene2 and its actually showing the hotspot zoom animation.

    Thanks again guys,
    Alex

Participate now!

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