The following are the four possible values:
•
The radio button is pinned to the upper left corner of the bounding area. The label
"right"
is placed to the right of the radio button.
•
The radio button is pinned to the upper right corner of the bounding area. The label
"left"
is placed to the left of the radio button.
•
The label is placed below the radio button. The radio button and label grouping
"bottom"
are centered horizontally and vertically. If the bounding box of the radio button isn't large
enough, the label is clipped.
•
The label is placed above the radio button. The radio button and label grouping are
"top"
centered horizontally and vertically. If the bounding box of the radio button isn't large enough,
the label is clipped.
Example
The following code places the label to the left of each radio button in
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 (
the previously selected radio button, or sets the radio button to deselected (
Example
The first line of code sets the
value of the
selected
mcButton.selected = true;
trace(mcButton.selected);
RadioButton.selectedData
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
instance to
mcButton
property.
radioGroup
. The second line of code returns the
true
RadioButton component
:
) and deselects
true
).
false
633
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