PDA

View Full Version : Keeping two panos registered


izoneguy
12-03-2009, 03:23 AM
I have two identical panos of the inside of a motorcoach.
In one pano the seats are facing forward. In the other pano the seats are facing the other direction. So how can I keep them in sync so that when a user transitions between them it will just look like a dissolve?

I have seen this done where a transition from day to night occurs...
You can pan or tilt anywhere and when you transition it is in sync from pano to pano.

Trausti Hraunfjord
12-03-2009, 03:30 AM
use "leash lock".

izoneguy
12-03-2009, 04:01 AM
Here ia a WIP - the FORWARD & MIDDLE buttons are
what I am using right now....

http://www.cuial.com/ALL_STAR/mhsrv.html

I tried that - still not working....

So I load the first pano -
I pan over a bit...
I load the 2nd pano and it is still at the first position?

<spot id="forward_btn" static="1" salign="CT" align="CT" staticX="-150" staticY="5" url="buttons/btn_forward.png" alpha=".75"

onClick="


pano.leash=lock;



loadPano(?panoName=images/pano_forward_01/&zoomHome=.7&panHome=0&tiltHome=-11, 400, fade);"






onOver="scale=1.04,600,elastic; alpha=1,100"

onOut="scale=1,300; alpha=0.75,100"

/>



<spot id="middle_btn" static="1" salign="CT" align="CT" staticX="-50" staticY="5" url="buttons/btn_middle.png" alpha=".75"

onClick="

pano.leash=lock;

loadPano(?panoName=images/pano_forward_02/&zoomHome=.7&panHome=0&tiltHome=-11, 400, fade);"



onOver="scale=1.04,600,elastic; alpha=1,100"

onOut="scale=1,300; alpha=0.75,100"

/>

Trausti Hraunfjord
12-03-2009, 04:30 AM
I'm sorry for not being able to help out more, but if you were using FFC, you would only have to drop the panos into tourificator, and everything would be automatically leash locked... if you would want it with different views, you would have to select individual initial views.

I am sure that someone with coding skills can sort this out.

Sorry for the incompetence.

HansNyberg
12-03-2009, 07:48 AM
Remove the ? in loadPano(?panoName=

The ? was used in the old Flash 9 version but with flash the 2.3.1 it is not used any more.
It still works fine for everything else but the leash=lock parameter.

Hans

360VT.co.uk
12-03-2009, 06:05 PM
Try removing the &zoomHome=.7&panHome=0&tiltHome=-11

this over rides the "pano.leash=lock"

and looking good, like the background seen

Harry

izoneguy
12-03-2009, 10:57 PM
Finally figured it out...
Take a look -
Thanks for everyone's help

http://izonemedia.net/PANO_DEMO/ALL_STAR/mhsrv.html

sachagriffin
08-12-2010, 05:19 PM
If you don't use zoomHome to set your different zoom home on a panorama, it defaults to 1 when using leash=lock.
I think this could be classified as a bug perhaps,
when using leash=lock, zoomHome changes to 1 instead of the previous zoomHome, so that when someone presses HOME or needs zoomHome in another plugin, trouble starts.

Try removing the &zoomHome=.7&panHome=0&tiltHome=-11

this over rides the "pano.leash=lock"

and looking good, like the background seen

Harry

Trausti Hraunfjord
08-12-2010, 06:23 PM
Sacha.

This was fixed by the programmer a few days back. There was a condition in the code that caused this behaviour... no apparent reason... and probably something Denis forgot to remove after testing when he made the hotspots plugin.

In any case... the new version of hotspots.swf will not have this problem.

sachagriffin
08-12-2010, 07:43 PM
SWEET! You rock Trausti!!!!!!!