View Full Version : Input must be Numbers
swive
06-03-2004, 01:24 PM
I need to make sure some user inputs are numbers only. Does anybody know of a tutorial or what to search for in the forums? I'm sure I'm not the first person to ask this. If not - please point me in the right direction in Flash MX. What functions or operations am I looking for?
Thanks.
-K
JEBoothjr
06-03-2004, 01:55 PM
You can use textfield.restrict
my_txt.restrict = "0-9";
swive
06-03-2004, 02:19 PM
I don't understand where to put the restrict.
When I put it into a the actions for that frame I'm still able to enter characters into the field.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.