Call method doesn't work ???

  • Hello,

    I have a big problem. I must use the call method to control a pano with javascript, but it
    doesn't work. I always have the same return by the console : Object #<an HTMLEmbedElement> has no
    method 'call' (with Chrome) and something like Call is not a function (with firebug). I have try
    the example in the package in local mode I have the same problem.

    And with this exemple : https://krpano.com/examples/javascript1/ it working perfectly....

    I realy don't understand...

    My krpano's version is 1.0.8 beta 9, my flash's version is 10.1.85.3

    Please help me :)

    Thank's a lot

  • Thank you Michel,

    ok for the local problem, but I work on a lamp solution and I have the same
    problem.

    A precision I package my virtual tour with AutoPano, do you think this
    method may cause this problem ?

    For use the call method is the swfobject.js can be the native version or I must use the "krpano" swfobject version ? (because actually I use the native version)

  • Hi liko,

    I think I know what's happens *smile* ...
    Ex. Firebug console:

    Code
    krpano().Call is not a function
       krpano().Call("loadpano(" + xmlname + ", null, MERGE, BLEND(1));");


    You are using Call (capital letter) instead of call... isn't it *wink* ?

    SAlut.

    Einmal editiert, zuletzt von michel (8. Oktober 2010 um 03:53)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!