# Disable an checkbox not working

**URL:** <https://forum.kirupa.com/t/disable-an-checkbox-not-working/133105>\
**Category:** Uncategorized\
**Created:** [January 5, 2005, 7:41pm UTC](https://forum.kirupa.com/t/disable-an-checkbox-not-working/133105 "2005-01-05T19:41:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Limitlis](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/limitlis/32/788_2.png) [@Limitlis](https://forum.kirupa.com/u/Limitlis)\
**Post date:** [January 5, 2005, 7:41pm UTC](https://forum.kirupa.com/t/disable-an-checkbox-not-working/133105/1 "2005-01-05T19:41:46Z")

</div>

Hi all,

I have a problem when trying to disble my checkbox.

Im using flash MX 2004 PRo and its checkboxes.

Okay when i use this code.

```auto

myCheckbox.setEnabled(true); 
//or
myCheckbox.setEnabled(false);

```

It doesn’t work. Am I missing something? Does anybody have a method that does work.

when I attached the each to a button to test… the checkbox sortof goes gray although it is still checkable.

Any Ideas…

thanks,  
Limitlis
