UIComponent.enabled

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

componentInstance.enabled

Description

Property; indicates whether the component can accept focus and mouse input. If the value is true, it can receive focus and input; if the value is false, it can't. The default value is true.

Example

The following example sets the enabled property of a CheckBox component to false:

checkBoxInstance.enabled = false;