Limited numeric input in flash actionscript 2 textfield

If you want to only show numeric characters in a textfield in flash actionscript you can use the following code:

myTextField.restrict = "0-9";

Leave a Reply

Your email address will not be published.