To pan a QuickTime VR object called qtvr in a complete circle:
for (angle = 0; angle <= 360; angle += 0.2)
{
qtvr.SetPanAngle( angle )
wait( 0 )
}
Note:
This example assumes that the pan angle range specifed in the QuickTime VR movie is from 0 to 360. This may not be the case for all QuickTime VR movies and will depend on the movie author.