PDA

View Full Version : Panning the shortest way


allSaints
10-22-2008, 06:51 PM
Hello,

I have a problem with the "pan" function when directing the viewer to a certain place in my panorama.

Of course I want FPP to take the viewer the shortest way to the point of interest and not make a complete 360 degrees turn. In some panos FPP always pans to the right to get there and sometimes it always want to pass through the zero degrees point which can make it pan more than 360 degrees!

How do I make sure it pans the shortest way?

Here is an example where I zoom in after clicking on a hotspot to change pano:
onClick="pano.qualityStatic=low;pano.tilt=90,600;pano.pan=0 ,600;pano.zoom=2.0,1000,,transit"
transit="loadPano(panoName=eniro5&tilthome=-35&panHome=145,500,fade);"


Regards,
Tommy

phberlin
10-22-2008, 10:35 PM
Are you sure that you have the latest hotspots.swf? In the "original" there was a bug sometimes referred to as the "whirling bug". Try it with the most recent version which you can get here (http://flashpanoramas.com/forum/showpost.php?p=5914&postcount=38). That'll probably sort it.

Regards, Ph.

allSaints
10-23-2008, 08:35 AM
...every problem had such an easy solution!

I had really missed that update.

Thanks a lot, Ph!

Regards,
Tommy