View comments | RSS feed

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;

Comments


arnybarnes said on Jun 6, 2005 at 12:44 PM :
For the Accordian component, I found that setting "instanceName.enabled=false;" did nothing. I was still able to use it. Any ideas?
djtechwriter said on Jun 6, 2005 at 1:17 PM :
A bug for disabling the Accordion component has been logged. We don't have a workaround at this time.
No screen name said on Jul 24, 2005 at 11:45 PM :
For the radio box component I found uot that it did not work. Any one know why?

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00002912.html