User Guide
321
invertMask
Syntax
member(whichQuickTimeMember).invertMask
the invertMask of member whichQuickTimeMember
Description
QuickTime cast member property; determines whether Director draws QuickTime movies in the
white pixels of the movie’s mask (TRUE) or in the black pixels (FALSE, default).
This property can be tested and set.
Example
This handler reverses the current setting of the invertMask property of a QuickTime movie
named Starburst:
on toggleMask
member("Starburst").invertMask = not member("Starburst").invertMask
end
See also
mask
isBusy()
Syntax
sound(channelNum).isBusy()
Description
Function; returns TRUE if sound channel channelNum is currently playing or pausing a sound, and
FALSE if it hasn’t started playing any of its queued sounds or has been stopped.
To see an example of
isBusy() used in a completed movie, see the Sound Control movie in the
Learning/Lingo Examples folder inside the Director application folder.
Example
The following Lingo statement checks whether a sound is playing in sound channel 1. If there is,
the text of member field is set to “You should hear music now.” Otherwise, the text reads “The
music has ended.”
if sound(1).isBusy() then
member("field").text = "You should hear music now."
else
member("field").text = "The music has ended."
end if
See also
pause() (sound playback), playNext(), queue(), status, stop() (sound)