|
-
problem disabling input text field
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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|