开发者

Actionscript 2.0 input text properties

I need to set input form proper开发者_高级运维ties to max 3 characters and number only. Can't find it in the documentation.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜