User Guide

RadioButton component 633
The following are the four possible values:
"right" The radio button is pinned to the upper left corner of the bounding area. The label
is placed to the right of the radio button.
"left" The radio button is pinned to the upper right corner of the bounding area. The label
is placed to the left of the radio button.
"bottom" The label is placed below the radio button. The radio button and label grouping
are centered horizontally and vertically. If the bounding box of the radio button isnt large
enough, the label is clipped.
"top" The label is placed above the radio button. The radio button and label grouping are
centered horizontally and vertically. If the bounding box of the radio button isnt large enough,
the label is clipped.
Example
The following code places the label to the left of each radio button in radioGroup:
radioGroup.labelPlacement = "left";
RadioButton.selected
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
radioButtonInstance.selected
radioButtonGroup.selected
Description
Property; a Boolean value that sets the state of the radio button to selected (true) and deselects
the previously selected radio button, or sets the radio button to deselected (
false).
Example
The first line of code sets the mcButton instance to true. The second line of code returns the
value of the
selected property.
mcButton.selected = true;
trace(mcButton.selected);
RadioButton.selectedData
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.