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";