Smooth custom controls

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
Posts: 1
Joined: Wed Jun 30, 2010 2:45 pm

Smooth custom controls

Post by Buckaroo » Wed Jun 30, 2010 3:02 pm

I've added my own custom controls in Flash AS2 to control the pan and tilt of the pano.

The problem is that the motion is very jerky. I want somthing that will allow me to move in a fluid way similar to the movement if you click and drag a pano. If you click and drag the pano then the movie quality of the flash movie is reduced but when using my controls the quality is always at maximum. I've tried changing the quality settings in actionScript but the pano is overriding them back to full quality. The external controller seems to have the same problem as well.

The methods I've tried are:

pano.setPan(<the amount>)
pano.changePan(<the amount>)

From the API I've seen another command called pano.moveTo(), but I've not been able to get it to work at all.

Is there a way of tapping into the function that is called when you click and drag on the pano?

Thanks beforehand to anyone who can help me out.


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest