User Guide

elapsedTime 749
editShortCutsEnabled
Usage
-- Lingo syntax
_movie.editShortCutsEnabled
// JavaScript syntax
_movie.editShortCutsEnabled;
Description
Movie property; determines whether cut, copy, and paste operations and their keyboard shortcuts
function in the current movie. Read/write.
When set to
TRUE, these text operations function. When set to FALSE, these operations are not
allowed. The default is
TRUE for movies made in Director 8 and later, FALSE for movies made in
versions of Director prior to Director 8.
Example
This statement disables cut, copy, and paste operations:
-- Lingo syntax
_movie.editShortCutsEnabled = 0
// JavaScript syntax
_movie.editShortCutsEnabled = 0;
See also
Movie
elapsedTime
Usage
-- Lingo syntax
soundChannelObjRef.elapsedTime
// JavaScript syntax
soundChannelObjRef.elapsedTime;
Description
Sound Channel property; gives the time, in milliseconds, that the current sound member in a
sound channel has been playing. Read-only.
The elapsed time starts at 0 when the sound begins playing and increases as the sound plays,
regardless of any looping, setting of the
currentTime or other manipulation. Use the
currentTime to test for the current absolute time within the sound.
The value of this property is a floating-point number, allowing for measurement of sound
playback to fractional milliseconds.