store current pan and tilt info?
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?
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?
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
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