F > FPushButton.getEnabled

 

FPushButton.getEnabled

Availability

Flash Player 6.

Usage

myPushButton.getEnabled()

Parameters

None.

Returns

A Boolean value.

Description

Method; returns true if the push button instance is enabled, false if it is disabled.

Example

The following code returns the enabled state of the push button submit to the Output window.

trace(submit.getEnabled());

See also

FPushButton.setEnabled