User Guide
208
editShortCutsEnabled
Syntax
the editShortCutsEnabled
Description
Movie property; determines whether cut, copy, and paste operations and their keyboard shortcuts
function in the current movie. When set to TRUE, these text operations function. When set to
FALSE, these operations are not allowed.
This property can be tested and set. 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:
the editShortCutsEnabled = 0
elapsedTime
Syntax
sound(channelNum).elapsedTime
the elapsedTime of sound channelNum
Description
This read-only property gives the time, in milliseconds, that the current sound member in the
given sound channel has been playing. It 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.
Example
This idle handler displays the elapsed time for sound channel 4 in a field on the Stage during idles:
on idle
member("time").text = string(sound(4).elapsedTime)
end idle
See also
currentTime, loopCount, loopsRemaining, rewind()
emissive
Syntax
member(whichCastmember).shader(whichShader).emissive
member(whichCastmember).model(whichModel).shader.emissive
member(whichCastmember).model(whichModel).shaderList{[index]}.\
emissive
Description
3D #standard shader property; adds light to the shader independently of the lighting in the
scene. For example, a model using a shader whose
emissive property is set to rgb(255, 255,
255)
will appear to be illuminated by a white light, even if there are no lights in the scene. The
model will not, however, illuminate any other models or contribute any light to the scene.