![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
checkBoxInstance
.labelReplacement
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.
"left"
The check box is pinned to the top 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 grouping are centered horizontally and vertically.
"top"
The label is placed below the check box. The check box and label grouping are centered horizontally and vertically.
You can change the bounding area of component while authoring by using the Transform command or at runtime using the UIObject.setSize()
property. For more information, see Customizing the CheckBox component.
The following example sets the placement of the label to the left of the check box:
checkBox_mc.labelPlacement = "left";
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |