•
The check box is pinned to the upper right corner of the bounding area. The label is
"left"
set to the left of the check box.
•
The label is set below the check box. The check box and label are centered
"bottom"
horizontally and vertically.
•
The label is placed below the check box. The check box and label are centered
"top"
horizontally and vertically.
You can change the bounding area of a component while authoring by using the Transform
command or at runtime using the
"Customizing the CheckBox component" on page
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 (
Example
The following example selects the instance
checkbox1.selected = true;
168
Chapter 6: Components Dictionary
UIObject.setSize()
159.
) or deselects (
true
false
:
checkbox1
property. For more information, see
) the check box.
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers