User Guide

466 Appendix B: XML to UI
label = "myLabel"
groupbox = "true|false">
<radio/>
...
<radio/>
</radiogroup>
Attributes
id
String; represents a unique identification string that is used by the extensibility features to
identify the control and access the value it returns.
label String; defines a string that appears above the group of radio buttons.
groupbox Boolean value; if true, the entire group of radio buttons have a border around them.
Child tags
<radio>
Parent tag
<dialog>, <hbox>, <row>
, <vbox>
Description
Control tag; Creates a container for a group of radio button controls. This tag allows grouping of
radio buttons and must contain at least one
<radio> tag.
Example
The following example defines a group of <radio> controls that are included in the example for
<menulist>. For the complete example, see <menulist>.
<radiogroup id="type">
<radio label="Movie clip"/>
<radio label="Button"/>
<radio label="Graphic"/>
</radiogroup>
<radio>
Availability
Flash MX 2004.
Usage
<radiogroup>
<radio label="myLabel" selected="" accesskey=""/>
...
</radiogroup>
Attributes
label
Text that appears next to the radio button.
selected Boolean value; if true, it makes the radio button the default selection in the radio
group.