User Guide
140 CheckBox component
Events inherited from the SimpleButton class
The following table lists the event the CheckBox class inherits from the SimpleButton class.
CheckBox.click
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.click = function(eventObject:Object) {
// ...
};
checkBoxInstance.addEventListener("click", listenerObject);
Usage 2:
on (click) {
// ...
}
Description
Event; broadcast to all registered listeners when the mouse is clicked (released) over the check
box, or if the check box has focus and the Spacebar is pressed.
Event Description
SimpleButton.click Broadcast when a button is clicked.