User Guide
Chapter 13338
Responding to user interaction
Lingo lets you control how QuickTime VR responds when the user clicks a QuickTime VR
sprite. Use Lingo to specify how Director handles image quality, clicks and rollovers on a
QuickTime VR sprite, clicks on hotspots, and interactions with QuickTime VR nodes. For
more information, see the Lingo Dictionary.
• To set the codec quality to use when the user drags on a QuickTime VR sprite, set the
motionQuality sprite property.
• To specify the codec quality to use when a QuickTime VR panorama image is static, set the
staticQuality sprite property.
• To enable or disable a specific hotspot for a QuickTime VR sprite, use the enableHotSpot
command.
• To control how Director passes mouse clicks on a QuickTime sprite, set the mouseLevel
sprite property.
• To find the approximate bounding rectangle for a specific hotspot in a QuickTime VR sprite,
use the getHotSpotRect() function.
• To specify the name of the handler that runs when the pointer enters a QuickTime VR hotspot
that is visible on the Stage, set the hotSpotEnterCallback QuickTime VR sprite property.
• To find the ID of the hotspot, if any, at a specific point on the Stage, use the
ptToHotSpotID() function. .
• To specify the name of the handler that runs when the user clicks a hotspot in a QuickTime
VR sprite, set the triggerCallback sprite property.
• To determine the name of the handler that runs when the pointer leaves a QuickTime VR
hotspot that is visible on the Stage, set the hotSpotExitCallback property.
• To specify the ID of the current node that a QuickTime VR sprite displays, set the node
QuickTime VR sprite property.
• To specify the name of the handler that runs after the QuickTime VR sprite switches to a new
active node on the Stage, set the nodeEnterCallback QuickTime VR sprite property.
• To specify the name of the handler that runs when a QuickTime VR sprite is about to switch
to a new active node on the Stage, set the nodeExitCallback QuickTime VR sprite property.
• To determine the type of node that is currently on the Stage, test the nodeType QuickTime
VR sprite property.
Rotating and scaling QuickTime video
Lingo can rotate and scale QuickTime videos, as described in the following list. For
more information, see the Lingo Dictionary.
• To control the rotation of a QuickTime sprite, set the rotation QuickTime sprite property.
• To control the scaling of a QuickTime sprite, set the scale QuickTime sprite property.