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
•
To specify the codec quality to use when a QuickTime VR panorama image is static, set the
staticQuality
•
To enable or disable a specific hotspot for a QuickTime VR sprite, use the
command.
•
To control how Director passes mouse clicks on a QuickTime sprite, set the
sprite property.
•
To find the approximate bounding rectangle for a specific hotspot in a QuickTime VR sprite,
use the
getHotSpotRect()
•
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
•
To find the ID of the hotspot, if any, at a specific point on the Stage, use the
ptToHotSpotID()
•
To specify the name of the handler that runs when the user clicks a hotspot in a QuickTime
VR sprite, set the
•
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
•
To specify the ID of the current node that a QuickTime VR sprite displays, set the
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
•
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
•
To determine the type of node that is currently on the Stage, test the
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
•
To control the scaling of a QuickTime sprite, set the
338
Chapter 13
sprite property.
sprite property.
function.
hotSpotEnterCallback
function. .
sprite property.
triggerCallback
nodeEnterCallback
QuickTime VR sprite property.
hotSpotExitCallback
QuickTime VR sprite property.
QuickTime VR sprite property.
nodeExitCallback
rotation
QuickTime sprite property.
scale
enableHotSpot
mouseLevel
property.
node
QuickTime
nodeType
QuickTime sprite property.
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers