Disable Input TextField

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 :frowning:

the following code is inside a MC:


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 :slight_smile: