krpanoSWFObject in external HTML

  • Hi!

    I created a HTML-file I want to include in my tour by clicking a new button.
    Within this HTML-File I want to fire actions for the tour where it is embedded/opened in.

    I tried var krpano = document.parent.getElementById("krpanoSWFObject"); to get the interface-object.
    But this always is NULL.

    Using the "embed"-code (which is recommended in the documentation) I fail beause I cannot defince a target - for my understanding there is no target within my external HTML-file, is it?

    So: how can I get the interface-object of my "running krpano" that opened the external HTML?

Participate now!

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