I have an input text box. When the the number of characters entered in this text box reach a certain limit, i want to disable the text box.
my code -
import flash.text.TextField;
if(charCount == maxCharacters)
{
message_txt.enabled =false;
}
but i am getting the error
1119: Access of possibly undefined property enabled through a reference with static type flash.text:TextField.
how can i disable the text box?