UIComponent.enabled

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX 2004.

Usage

componentInstance.enabled

Description

Property; indicates whether the component can (true) or cannot (false) accept focus and mouse input. The default value is true.

Example

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

checkBoxInstance.enabled = false;

Flash CS3