If you want to only show numeric characters in a textfield in flash actionscript you can use the following code:
[code lang=”actionscript”]myTextField.restrict = “0-9”;[/code]