我需要将输入表单属性设置为最多3个字符和数字。无法在文档中找到它。
答案 0 :(得分:2)
txtInput.maxChars = 3;
txtInput.restrict = "0-9";
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001603.html
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001621.html