js() - function not found

  • I am trying to convert my tours to iPad/iPhone friendly and my onstart action in xml which calls a javascript function is not working.

    How the function is defined:

    How it is called:

    Code
    <krpano onstart="js(viewerInterface.initTour)" logkey="false">

    The error:

    Code
    ERROR: js() - function "viewerInterface.initTour" not found

    Note that this works fine in Flash.

    The tour: http://www.harrcreative.com/realestate/109
    A related thread: Javascript interface doesn't work on iphone HTML5?

Participate now!

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