F > FRadioButton.getValue |
![]() ![]() ![]() |
FRadioButton.getValue
Availability
Flash Player 6.
Usage
myRadioButtonGroup
.getValue()
Parameters
None.
Returns
A string or undefined
.
Description
Method; returns the data associated with the selected radio button in myRadioButtonGroup
, or the label of the radio button if no data is specified. If no button is selected, the method returns undefined
.
Example
The following code returns the data associated with the selected radio button in the group radioGroup1
to the Output window.
trace
(
radioGroup1
.getValue());
See also
![]() ![]() ![]() |