store current pan and tilt info?

Specific Q&A about the new Flash export
Locked
lbmbrian
Posts: 3
Joined: Mon Dec 07, 2009 8:22 am

i would like to load a second pano in flash based on the current pan and tilt position of the current pano, can this be done?
lbmbrian
Posts: 3
Joined: Mon Dec 07, 2009 8:22 am

searching through the forums, it looks like i found what could be a possible solution, but she don't work:

var currentPan:Number = FirstPanorama.pan.getPan();

the error message i get it 1119: Access of a possibly undefined property pan through a reference with static type String

my thoughts are that on the button click to load the next pano, i would use a line similar to this?

secondPanorama.pan.setPan(currentPan);

any ideas?
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

This is a feature of Pano2VR the replacement program of the now discontinued Pano2QTVR-Flash Pack program.

Regards, Smooth 8)
Image
lbmbrian
Posts: 3
Joined: Mon Dec 07, 2009 8:22 am

thanks smooth, pano2vr is the software i have, i didn't realize i had posted this in the wrong forum
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

From within the Skin Editor using Pano2VR you can do the following:

http://gardengnomesoftware.com/wiki/Skin_-_Placeholder

You need to use:

$ap = current pan angle
$at = current tilt angle
$af = current field of view
or the undocumented:
$cur

Regards, Smooth 8)
Image
Locked