Hi,
I write myfunction
private function testfunction1(...rest):void
{
// trace the given arguments
krpano.trace(1,"testfunction1() called with " + rest.length + " arguments:");
for (var i:int=0; i<rest.length; i++)
krpano.trace(1,"argument" + (i+1) + "=" + rest);
// trace the current viewing direction and fov
krpano.trace(1,"current view:");
krpano.trace(1,"hlookat = " + krpano.view.hlookat);
krpano.trace(1,"vlookat = " + krpano.view.vlookat);
krpano.trace(1,"fov = " + krpano.view.fov);
}
In have include this plugin in my tour.xml. I create a button in my tour. I want when i click to the button, that function will be called.
How would I do?