Hi,
Hi all, is there a way to set the min fov, max fov, and/or any other params of view via javascript?
yes, here some Javascript example code:
|
Quellcode
|
1
2
3
4
5
|
krpano = document.getElementById("krpanoSWFObject");
krpano.set("view.fovmin", 10);
krpano.set("view.fovmax", 120);
var currentfov = krpano.get("view.fov");
krpano.set("view.fov", currentfov + 10);
|
To have available the java interface in that .swf the .swf must be domain limited?
yes, the javascript interface is only available in domain limited mode or with an external license,
because when the xml was embedded, it could be read-out and/or modified via javascript...
best regards,
Klaus