F > FRadioButton.getLabel |  |

FRadioButton.getLabel

FRadioButton, FRadioButton.getLabel, getLabel

Availability

Flash Player 6.

Usage

    myRadioButton.getLabel()

Parameters

None.

Returns

A string.

Description

Method; returns the label of the specified radio button as a string. You cannot use this method to get the labels for a group of radio buttons; the syntax `radioButtonGroup`.`getLabel` is not valid.

Example

The following code returns the label of the instance `radio2` to the Output window.

    trace(radio2.getLabel());

See also

`FRadioButton.setLabel`