update to 1.94 droubles again

  • dear forum
    dear klaus

    this code works with 1.8version, but after update to 1.19-4 the scrollarea doesn't be created any more

    <action name="make_scroll_info">
    addlayer(scroll_info);
    set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.swf);
    set(layer[scroll_info].alturl,%CURRENTXML%/plugins/scrollarea.swf);
    set(layer[scroll_info].parent,info_main);
    set(layer[scroll_info].keep,true);
    set(layer[scroll_info].visible, true);
    set(layer[scroll_info].width,100%);
    set(layer[scroll_info].height,1000);
    set(layer[scroll_info].enabled,true);
    set(layer[scroll_info].draggable,true);
    set(layer[scroll_info].mwheel,true);
    set(layer[scroll_info].align,top);
    set(layer[scroll_info].edge,top);
    set(layer[scroll_info].direction,v);
    set(layer[scroll_info].onloaded,setcenter(0,0));
    </action>

    has anyone an idea

    wbr klaus

  • thank's alexey, but this mistake happened on playing around...
    but the result is the same after changing back to the correct alturl

    <action name="make_scroll_info">
    addlayer(scroll_info);
    set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.swf);
    set(layer[scroll_info].alturl,%CURRENTXML%/plugins/scrollarea.js);
    set(layer[scroll_info].parent,info_main);
    set(layer[scroll_info].keep,true);
    set(layer[scroll_info].visible, true);
    set(layer[scroll_info].width,100%);
    set(layer[scroll_info].height,1000);
    set(layer[scroll_info].scale,1);
    set(layer[scroll_info].enabled,true);
    set(layer[scroll_info].draggable,true);
    set(layer[scroll_info].mwheel,true);
    set(layer[scroll_info].align,top);
    set(layer[scroll_info].edge,top);
    set(layer[scroll_info].direction,v);
    set(layer[scroll_info].onloaded,setcenter(0,0));
    </action>
    ???????????????????????????????????
    lg
    klaus

  • dear forum
    dear klaus

    as i set logkey="true" ,i found following logmessage


    INFO: krpano 1.19-pr4 (build 2016-04-07)
    INFO: Internet Explorer 11.0 -WebGL
    INFO: Registered to: klaus karnutsch
    INFO: clicked at ath=-16.62555549951935 atv=10.189574520067243
    WARNING: plugin[scroll_info] skipped flash file: scrollarea.swf

    for a tetst, i removed the
    set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.swf);
    and set url to the scrollarea.js ....set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.js);... and now the thing runs??!!!???

    any idea?????????

    wbr
    klaus

  • Hi,

    replace this code:

    Code
    set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.swf);
    set(layer[scroll_info].alturl,%CURRENTXML%/plugins/scrollarea.swf);


    with this:

    Code
    if(device.html5, set(layer[scroll_info].url, '%CURRENTXML%/plugins/scrollarea.js'));
    if(device.flash, set(layer[scroll_info].url, '%CURRENTXML%/plugins/scrollarea.swf'));

    Best regards,
    Klaus

  • thank you klaus
    i have used the same solution in the meantime:

    addlayer(scroll_info);
    if(device.flash, set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.swf););
    if(device.html5,set(layer[scroll_info].url,%CURRENTXML%/plugins/scrollarea.js););
    set(layer[scroll_info].parent,info_main);............................................................................

Participate now!

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