buttonStyle

Usage

-- Lingo syntax
_movie.buttonStyle

// JavaScript syntax
_movie.buttonStyle;

Description

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:

Example

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;

See also

Movie