User Guide

168 Chapter 6: Components Dictionary
"left" The check box is pinned to the upper right corner of the bounding area. The label is
set to the left of the check box.
"bottom" The label is set below the check box. The check box and label are centered
horizontally and vertically.
"top" The label is placed below the check box. The check box and label are centered
horizontally and vertically.
You can change the bounding area of a component while authoring by using the Transform
command or at runtime using the
UIObject.setSize() property. For more information, see
“Customizing the CheckBox component” on page 159.
Example
The following example sets the placement of the label to the left of the check box:
checkBox_mc.labelPlacement = "left";
See also
CheckBox.label
CheckBox.selected
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
checkBoxInstance.selected
Description
Property; a Boolean value that selects (true) or deselects (false) the check box.
Example
The following example selects the instance checkbox1:
checkbox1.selected = true;