-- Lingo syntax _movie.buttonStyle // JavaScript syntax _movie.buttonStyle;
Movie property; determines the visual response of buttons while the mouse button is held down. Read/write.
This property applies only to buttons created with the Button tool in the Tool palette.
The buttonStyle property can have these values:
1 (dialog style)--Only the first button clicked is highlighted. Subsequent buttons are not highlighted. Releasing the mouse button while the pointer is over a button other than the original button clicked does not activate the script associated with that button.
The following statement sets the buttonStyle property to 1:
-- Lingo syntax _movie.buttonStyle = 1 // JavaScript syntax _movie.buttonStyle = 1;
This statement remembers the current setting of the buttonStyle property by putting the current buttonStyle value in the variable buttonStyleValue:
-- Lingo syntax buttonStyleValue = _movie.buttonStyle // JavaScript syntax var buttonStyleValue = _movie.buttonStyle;