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";
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments