15 Replies Latest reply on Mar 12, 2007 6:54 PM by kglad

    Coding question - TextInput components

    jl2000 Level 1
      Hi -
      I need to make a movieclip that will add up 2 columns of numbers the user will enter and then calculate the percent of one to the other from the totals.

      So I have a stage full of TextInput components, 20 in all, and I want to restrict the input to 0-9 on all of them. There's GOT to be a simpler way to do this than what I'm doing - coding each one individually like this....

      myTextInput_1.restrict = "0-9";

      Please help me stop this madness.

      TIA some expert assistance,

      P.S. - If anyone has something like this built or can point me to a tutorial, I'd appreciate it. In the meantime I'm muddling through on my own.