View Full Version : new need some help

03-07-2006, 12:05 AM
i have looked around on the internet and on actionscript.org for this code but i can't seem to find it. i am trying to find the code that will not allow letters in a text box. the program i am trying to do is an ATM so i don't need letters in the text box just numbers. i have the atm working properly and this is just an added bonus so i can gain some extra points on this project. any help would be appreciated.

03-07-2006, 12:18 AM
Howdy and Welcome... :)

What you are looking for is TextField.restrict which typically goes something like this...
atm_txt.restrict = "0-9";

03-07-2006, 12:24 AM
thanks for the help