PDA

View Full Version : loadpanos and xml param files


jaaaab
12-29-2006, 01:37 PM
hi denis,

you say it's better to use openUrl than loadpano when clicking a hotspot, because plugins could be reloaded.

if we consider 2 panos: A.swf ans B.swf with respective A.xml and B.xml param files containing hotspots plugin lines

<param name="layer_2" value="hot_spotsA.swf" /> for A.xml


<param name="layer_2" value="hot_spotsB.swf" /> for B.xml

spotsA.xml and spotsB.xml containing respective hotpots definitions.

can a problem happen to be if we call each panos with loadPano:A.swf,A.xml and loadPano:B.swf,B.xml?

thanks

Denis
12-29-2006, 02:26 PM
It looks unbreakable. :)

jaaaab
12-29-2006, 02:44 PM
well that does'nt work.....


when i load spotsB.xml, spotsA.xml still loaded (hotpots visible), and i come back to A view, spotsB.xml is visible too...

Denis
12-30-2006, 10:23 PM
Are old hotspots visible after openUrl() command?
Not really understood...
Can I get an example?

viktor-y
02-28-2007, 09:39 PM
Hi

Maybe the different xml could be a solution for my problem as well. I’m wondering is it possible to give different zoom value to different panoramas. What I want to see is: the first panorama zoom from 0 value to 1 while the second one zoom from -1 to 0 meanwhile there is a simple fade effect clicking on my hotspot. The best could be if this process starts after the second panorama has loaded already.

Viktor

Denis
03-03-2007, 12:30 AM
In version 1.0 panoramas are linked rigedly. Pan, tilt and zoom are always the same for old and new panorama.

Wait for version 2.0. You will be able to use a special parameter to choose the link between panoramas: "lock" (rigid link), "follow" (relative pan, tilt and zoom) and "free" (panoramas move independently).

Thanks for your patience! :)