F > FRadioButton.getEnabled |  |

FRadioButton.getEnabled

FRadioButton, FRadioButton.getEnabled, getEnabled

Availability

Flash Player 6.

Usage

    myRadioButton.getEnabled()
    myRadioButtonGroup.getEnabled()

Parameters

None.

Returns

A Boolean value or `undefined`.

Description

Method; indicates whether a radio button instance or radio button group is enabled.

Usage 1: Indicates whether `myRadioButton` is enabled (`true`) or disabled (`false`).

Usage 2: Indicates whether the buttons in `myRadioButtonGroup` are enabled (`true`) or disabled (`false`). If some of the buttons in the group are enabled and some are disabled, the method returns `undefined`.

Example

The following code returns the enabled state of `radio1` to the Output window.

    trace(radio1.getEnabled());

See also

`FRadioButton.setEnabled`