SimpleButton.toggle

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX 2004.

Usage

buttonInstance.toggle

Description

Property; a Boolean value that indicates whether the button acts as a toggle switch (true) or not (false). The default value is false.

If a button acts as a toggle switch, it stays pressed until you click it again to release it.