User Guide

958 Chapter 14: Properties
rightIndent
Usage
chunkExpression.rightIndent
Description
Text cast member property; contains the offset distance, in pixels, of the right margin of
chunkExpression from the right side of the text cast member.
The value is an integer greater than or equal to 0.
This property can be tested and set.
See also
firstIndent, leftIndent
rightMouseDown
Usage
-- Lingo syntax
_mouse.rightMouseDown
// JavaScript syntax
_mouse.rightMouseDown;
Description
Mouse property; indicates whether the right mouse button (Windows) or the mouse button and
Control key (Macintosh) are being pressed (
TRUE) or not (FALSE). Read-only.
On the Macintosh,
rightMouseDown is TRUE only if the emulateMultiButtonMouse property
is
TRUE.
Example
This statement checks whether the right mouse button in Windows is being pressed and plays the
sound Oops in sound channel 2 if it is:
-- Lingo syntax
if (_mouse.rightMouseDown) then
sound(2).play(member("Oops"))
end if
// JavaScript syntax
if (_mouse.rightMouseDown) {
sound(2).play(member("Oops"));
}
See also
emulateMultibuttonMouse, Mouse