Controlling QuickTime with Lingo or JavaScript syntax
You can use Lingo or JavaScript syntax to control a QuickTime video's appearance and sound
volume. For QuickTime VR, you can use Lingo or JavaScript syntax to pan a QuickTime VR
digital video and specify what happens when the user clicks or rolls over portions of the video.
You can set the rotation, scale, and translation properties for either a QuickTime cast member or
a sprite. For more information, see the Scripting Reference topics in the Director Help Panel.
•
To determine whether a cast member or sprite is a QuickTime VR digital video, test the
property.
isVRMovie
•
To obtain a floating-point value that identifies which version of QuickTime is installed on the
local computer, use the
•
To control a QuickTime sprite's sound volume, set the
•
To set the internal loop points for a QuickTime cast member or sprite, set the
sprite property.
Applying masks for QuickTime
Director provides specific script properties for applying masks to QuickTime digital videos. For
more information, see the Scripting Reference topics in the Director Help Panel.
•
To use a black-and-white cast member as a mask for QuickTime media rendered direct-to-
Stage, set the
•
To control the way Director interprets a QuickTime video's mask cast member property, set the
property.
invertMask
Responding to user interaction
Lingo or JavaScript syntax lets you control how QuickTime VR responds when the user clicks a
QuickTime VR sprite. Use script 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 Scripting Reference topics in the Director Help Panel.
•
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
method.
•
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
250
Chapter 11: Using Digital Video
quickTimeVersion()
cast member property.
mask
sprite property.
sprite property.
method.
hotSpotEnterCallback
method.
triggerCallback
method.
volume
sprite property.
sprite property.
loopBounds
enableHotSpot
mouseLevel
QuickTime VR sprite property.
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers