javascript not working

  • hello. doing this:

    embedpano({swf:"test_right_left.swf", id:"krpanoSWFObject", xml:"test_right_left.xml", target:"krpano", width:"516", height:"300"});

    function krpano() {return document.getElementById("krpanoSWFObject"); }
    function loadpano(xmlname) { krpano().call("loadpano(" + xmlname + ", null, MERGE, BLEND(1));"); }

    pano loads well ... but when i call loadpano(), firefox shows error "krpano().call is not a function".debug with .toSource() meets empty object. script executes on hosting domain. what it can be ??

  • Hi,

    how was the "test_right_left.swf" build?
    with the droplets or the kprotect tool?

    when it was build with the kprotect, then check if the "Disable Javascript Interface" setting was checked,

    best regards,
    Klaus

    We are using Kolor Panotour. There is no options about Javascript enabling/disabling. So we must compile it with droplets (.bat) ?

Participate now!

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