# Disable Input TextField

**URL:** <https://forum.kirupa.com/t/disable-input-textfield/244540>\
**Category:** flash\
**Created:** [November 19, 2007, 4:15pm UTC](https://forum.kirupa.com/t/disable-input-textfield/244540 "2007-11-19T16:15:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scorpion\_Blood](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/scorpion_blood/32/3537_2.png) [@Scorpion\_Blood](https://forum.kirupa.com/u/Scorpion_Blood)\
**Post date:** [November 19, 2007, 4:15pm UTC](https://forum.kirupa.com/t/disable-input-textfield/244540/1 "2007-11-19T16:15:47Z")

</div>

I was looking in the help of Flash cs3 in AS3 section, and i’ve found that there is no “enable” property to disable a TextField, but there is in a Input TextField but it doesn’t work because it’s giving me an error ☹

the following code is inside a MC:

```auto

var bState:Boolean = false;

txtPassword.enabled = bState;
txtVerify.enabled = bState;
txtEmail.enabled = bState;

// this code gives the following error:
// 1119: Access of possibly undefined property enabled through a reference with static type flash.text:TextField.

```

can anyone help? they are all input textfields 🙂
