![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
buttonInstance
.toggle
Property; a Boolean value specifying whether a button acts like a toggle switch (true
) or a push button (false
); the default value is false
. When a toggle switch is pressed, it stays in a pressed state until it's clicked again.
The following code sets the toggle
property to true
, which makes the myButton
instance behave like a toggle switch:
myButton.toggle = true;
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |