AS3: property check to see if pano is moving

Q&A about the latest versions
Post Reply
prism
Posts: 9
Joined: Thu May 22, 2008 1:02 pm

Hi Thomas,

with AS3, I've used vr.pano.turn to check if the pano is moving or not in the past (2.0 betas), and that worked, but it seems to only return true now after it's moved the first time.
Is there any other property to find out whether or not the pano is active/moving?

Thanks!
Bjørn
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Hmmmm.... at the moment I only see a save way in checking if the pan, tilt or fov has been changed since the last check. I will think of a way to add a "official" method.
MfG, Thomas
prism
Posts: 9
Joined: Thu May 22, 2008 1:02 pm

Cool Thomas, I'm using something like this for now (works great):

Code: Select all

private function onMove(e:MouseEvent)
	{
		(e.buttonDown)? vr.pano.mouseChildren = false : vr.pano.mouseChildren = true;
	}
Bjørn
Post Reply