VR Panoramas > Director/Shockwave

Controlling QTVR with Director Lingo and Flash Actionscript

QTVR movies can also be controlled directly by Lingo commands. Here is an example - you can download the source tutorial files for this sample at this site:

There are 3 main parameters concerning us here:

  • Pan - horizontal motion
  • Tilt - vertical motion
  • Field of view – zoom
  1. Place a QTVR movie sprite on the score in channel 1. Open the message window (Select Window > Message or Control [Command] -M)
  2. Type "put the pan of sprite 1" (where 1 is the number of the channel containing the QTVR sprite) into the message window and press ENTER. Director 7/8/MX users can also use the dot syntax - "put sprite(1).pan". The value returned is the current pan value for the sprite.
  3. Now type "set the pan of sprite 1 to 0"- or "sprite(1).pan=0" if you are using Director 7. The QTVR movie should jump to 0 degrees
  4. Tilt and Field of View can be set in the same way

<< Previous | Next >>

Richard England - July 2003