You are not logged in.

Search results

Search results 1-2 of 2.

Wednesday, October 26th 2011, 11:17am

Author: BoriZor

Conditions for loading a pano.

Hey Andrey, Thanks for the suggestion, I understand what your saying but unfortunately am having some trouble implementing it. This is the piece of code where I just want to output the current scene when a thumb is pressed. My compiler is saying that both "xml" and method "get" are undefined. Should "xml" be the name of my xml file? Should I retrieve it by putting it in a "krpano.call()" function? var krpano : krpano_as3_interface = null; krpano = krpano_as3_interface.getInstance(); var scene:Ob...

Monday, October 24th 2011, 1:39pm

Author: BoriZor

Conditions for loading a pano.

Hello, I am wondering if there is a way to retrieve the current pano scene number through the interface object. I am working on a thumbnail slider, and when you click on a thumbnail of a tour that is already loaded, it loads it again. I am looking for some kind of condition that says for example... if(requested pano is the same as currently loaded pano) do nothing else load requested pano This is mock up code obviously just to show the idea. I was looking for some way to do it with the loadscene...