• hallo klaus
    dear forum

    at the moment, im trying to link a fiew pnoramatours.

    step1. Hotspot:

    <hotspot name="to_jk" style=""
    url="%SWFPATH%/skin/sceneicons/josefskapelle.png"
    alturl="%SWFPATH%/skin/sceneicons/josefskapelle.png"
    ath="-165.579" atv="3.466"
    keep="false"
    visible="true"
    onclick= "next_tour()"/>

    <action name="next_tour">
    delete(startscene);
    loadpano('../josefskapelle/tour.xml',get(scene[0].name),IGNOREKEEP,BLEND(1));
    tourload();
    </action>

    <action name="tourload">
    set(layer[timewarp001].visible,true););
    removelayer(logo1);
    removelayer(logo2);
    set(events[skin_events].onxmlcomplete, startup2(););
    </action>

    everthing works perfect exept the overwrite of the onxmlcomplete_event.

    can enyone help me with this problem???!!!

    ps.:if it is not possible to overwrite a named event,
    maybe it is possible to change the onstart action out from prev. pano
    <krpano version="1.17" title="josefskapelle" onstart="startup()" idletime="3">

    wbr

    klaus

    Edited 3 times, last by niconutsch (December 8, 2014 at 9:57 AM).

  • adding vars to loadpano...

    <action name="next_tour">
    delete(startscene);
    loadpano('../josefskapelle/tour.xml',get(scene[0].name)&amp;layer[logo1].onloaded=null&amp;layer[logo1].visible=false,IGNOREKEEP,BLEND(1));
    set(hotspot[to_rh].alpha,1); set(hotspot[to_rh].enabled,true); startcam();
    </action>

    thank you so...

    wbr klaus


Participate now!

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