User Guide
CheckBox component 167
CheckBox.label
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
checkBoxInstance.label
Description
Property; indicates the text label for the check box. By default, the label appears to the right
of the check box. Setting this property overrides the label parameter specified in the Parameters
tab of the Component Inspector panel.
Example
The following code sets the text that appears beside the CheckBox component and sends the
value to the Output panel:
checkBox.label = "Remove from list";
trace(checkBox.label)
See also
CheckBox.labelPlacement
CheckBox.labelPlacement
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
checkBoxInstance.labelPlacement
Description
Property; a string that indicates the position of the label in relation to the check box. The
following are the four possible values (the dotted lines represent the bounding area of the
component; they are invisible in a document):
• "right" The check box is pinned to the upper left corner of the bounding area. The label is
set to the right of the check box. This is the default value.