F > FRadioButton.getState |  |

FRadioButton.getState

FRadioButton, FRadioButton.getState, getState

Availability

Flash Player 6.

Usage

    myRadioButton.getState()

Parameters

None.

Returns

A Boolean value indicating the selected state of the radio button.

Description

Method; returns a Boolean value indicating whether `myRadioButton` is selected (`true`) or not (`false`).

Example

The following code returns the selected state of the radio button `radio1` to the Output window.

    trace(radio1.getState());

See also

`FRadioButton.setState`