• Wow Klaus, thank you so much for your super-quick reply.

    Unfortunately while it is working correctly with your xml example, it is not working when I replace it with my actual xml:

    function krpano_ready(krpanointerface:krpano_as3_interface):void
    {
    krpano = krpanointerface;

    // open the krpano log and show a message:
    krpano.call("showlog(false);");
    //krpano.trace(0,"ready...");

    // load a inline xml with a preview image as demo
    krpano.call("loadpano(lupo.xml,null,KEEPBASE|KEEPPLUGINS);");

    where lupo.xml is:

    <krpano version="1.0.8" ispartialpano="true" debugmode="false" logkey="false">

    <include url="skin/defaultskin.xml" />

    <view hlookat="0" vlookat="0" maxpixelzoom="1.0" limitview="range" vlookatmin="-80.762" vlookatmax="80.762" fisheye="1" />
    <display details="22" />

    <preview type="CUBESTRIP" url="lupo50000.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="740">
    <level tiledimagewidth="15915" tiledimageheight="15915">
    <left url="lupo50000.tiles/l5_l_%0v_%0h.jpg" />
    <front url="lupo50000.tiles/l5_f_%0v_%0h.jpg" />
    <right url="lupo50000.tiles/l5_r_%0v_%0h.jpg" />
    <back url="lupo50000.tiles/l5_b_%0v_%0h.jpg" />
    <up url="lupo50000.tiles/l5_u_%0v_%0h.jpg" />
    <down url="lupo50000.tiles/l5_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="7958" tiledimageheight="7958">
    <left url="lupo50000.tiles/l4_l_%0v_%0h.jpg" />
    <front url="lupo50000.tiles/l4_f_%0v_%0h.jpg" />
    <right url="lupo50000.tiles/l4_r_%0v_%0h.jpg" />
    <back url="lupo50000.tiles/l4_b_%0v_%0h.jpg" />
    <up url="lupo50000.tiles/l4_u_%0v_%0h.jpg" />
    <down url="lupo50000.tiles/l4_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="3979" tiledimageheight="3979">
    <left url="lupo50000.tiles/l3_l_%0v_%0h.jpg" />
    <front url="lupo50000.tiles/l3_f_%0v_%0h.jpg" />
    <right url="lupo50000.tiles/l3_r_%0v_%0h.jpg" />
    <back url="lupo50000.tiles/l3_b_%0v_%0h.jpg" />
    <up url="lupo50000.tiles/l3_u_%0v_%0h.jpg" />
    <down url="lupo50000.tiles/l3_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="1990" tiledimageheight="1990">
    <left url="lupo50000.tiles/l2_l_%0v_%0h.jpg" />
    <front url="lupo50000.tiles/l2_f_%0v_%0h.jpg" />
    <right url="lupo50000.tiles/l2_r_%0v_%0h.jpg" />
    <back url="lupo50000.tiles/l2_b_%0v_%0h.jpg" />
    <up url="lupo50000.tiles/l2_u_%0v_%0h.jpg" />
    <down url="lupo50000.tiles/l2_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="995" tiledimageheight="995">
    <left url="lupo50000.tiles/l1_l_%0v_%0h.jpg" />
    <front url="lupo50000.tiles/l1_f_%0v_%0h.jpg" />
    <right url="lupo50000.tiles/l1_r_%0v_%0h.jpg" />
    <back url="lupo50000.tiles/l1_b_%0v_%0h.jpg" />
    <up url="lupo50000.tiles/l1_u_%0v_%0h.jpg" />
    <down url="lupo50000.tiles/l1_d_%0v_%0h.jpg" />
    </level>
    </image>

    </krpano>

    I don't know why ... any additional suggestion?

    Thank you for your kind assistance

  • OK got it. The skin folder was missing so it was shooting an error.

    Thanks a lot anyway.

    And by the way: your coding on this krpano is wonderful: I am just waiting for some nice function fo remove the embedded krpano when necessary.

Participate now!

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