F > FPushButton.getLabel |  |

FPushButton.getLabel

FPushButton, FPushButton.getLabel, getLabel

Availability

Flash Player 6.

Usage

    myPushButton.getLabel()

Parameters

None.

Returns

A string.

Description

Method; returns the text label on the push button as a string.

Example

The following code returns the label for the push button `buttonPage1` to the Output window.

    trace(buttonPage1.getLabel());

See also

`FPushButton.setLabel`