User Guide
390
Examples
thisMotion = member("3D World").motion("Wing Flap")
thisMotion = member("3D World").motion[7]
put member("scene").motion.count
-- 2
See also
duration (3D), map (3D)
motionQuality
Syntax
sprite(whichQTVRSprite).motionQuality
motionQuality of sprite whichQTVRSprite
Description
QuickTime VR sprite property; the codec quality used when the user clicks and drags the
QuickTime VR sprite. The property’s value can be #minQuality, #maxQuality, or
#normalQuality.
This property can be tested and set.
Example
This statement sets the motionQuality of sprite 1 to #minQuality.
sprite(1).motionQuality = #minQuality
mouseChar
Syntax
the mouseChar
Description
System property; used for field sprites, contains the number of the character that is under the
pointer when the property is called. The count is from the beginning of the field. If the mouse
pointer is not over a field or is in the gutter of a field, the result is -1.
The value of the
mouseChar property can change in a handler or repeat loop. If a handler or
repeat loop uses this property multiple times, it’s usually a good idea to call the property once and
assign its value to a local variable.
Examples
This statement determines whether the pointer is over a field sprite and changes the content of
the field cast member Instructions to “Please point to a character.” when it is:
if the mouseChar = -1 then
member("Instructions").text = "Please point to a character."
This statement assigns the character under the pointer in the specified field to the variable
currentChar:
currentChar = member(the mouseMember).char[the mouseChar]