User Guide

389
mostRecentCuePoint
Syntax
sprite(whichSprite).mostRecentCuePoint
the mostRecentCuePoint of sprite whichSprite
sound(channelNum).mostRecentCuePoint
the mostRecentCuePoint of sound channelNum
Description
Cast member, sound channel, and sprite property; for sound cast members, QuickTime digital
video, and Xtra extensions that support cue points, indicates the number that identifies the most
recent cue point passed in the sprite or sound. The value is the cue points ordinal number. If no
cue points have been passed, the value is 0.
For sound channels, the return value is for the sound cast member currently playing in the
sound channel.
Shockwave Audio (SWA) sounds can appear as sprites in sprite channels, but they play sound in a
sound channel. It is recommended that you refer to SWA sound sprites by their sprite channel
number rather than their sound channel number.
Examples
This statement tells the Message window to display the number for the most recent cue point
passed in the sprite in sprite channel 1:
put sprite(1).mostRecentCuePoint
This statement returns the ordinal number of the most recently passed cue point in the currently
playing sound in sound channel 2:
put sound(2).mostRecentCuePoint
See also
cuePointNames, isPastCuePoint(), cuePointTimes, on cuePassed
motion
Syntax
member(whichCastmember).motion(whichMotion)
member(whichCastmember).motion[index]
member(whichCastmember).motion.count
Description
3D command; returns the motion found within the referenced cast member that has the name
specified by
whichMotion, or is found at the index position specified by the index. As
motion.count, this property returns the total number of motions found within the cast member.
Object name string comparisons are not case-sensitive. The index position of a particular motion
may change when objects at lower index positions are deleted.
If no motion is found that uses the specified name or no motion is found at the specified index
position then this command returns void.