User Guide
216
endTellTarget()
See tellTarget().
endTime
Syntax
sound(channelNum).endTime
the endTime of sound channelNum
Description
This property is the specified end time of the currently playing, paused or queued sound. This is
the time within the sound member when it will stop playing. It’s a floating-point value, allowing
for measurement and control of sound playback to fractions of milliseconds. The default value is
the normal end of the sound.
This property may be set to a value other than the normal end of the sound only when passed as a
parameter with the
queue() or setPlayList() commands.
Example
This Lingo checks whether the sound member Jingle is set to play all the way through in sound
channel 1:
if sound(1).startTime > 0 and sound(1).endTime < member("Jingle").duration
then
alert "Not playing the whole sound"
end if
See also
setPlaylist(), queue(), startTime
ENTER
Syntax
ENTER
Description
Character constant; represents the Enter key (Windows) or the Return key (Macintosh) for a
carriage return.
On PC keyboards, the element
ENTER refers only to the Enter key on the numeric keypad.
For a movie that plays back as an applet, use
RETURN to specify both the Return key in Windows
and the Enter key on the Macintosh.
Example
This statement checks whether the Enter key is pressed and if it is, sends the playhead to the
frame addSum:
on keyDown
if the key = ENTER then go to frame "addSum"
end
See also
RETURN (constant)