An inputfield doesn't work

Hi all,
First the situation.
-I have an inputfield (input)
-submitbutton (button)
-and a textfield (tekstVeld)

what i want:
fill in a number->press button-> (number1) (number2)… etc.
for example:
6->press button->0,6,12,18,24,30,36,42,48,54,60

var tafel:Array = new Array();
for (i=0; i<11; i++) {
    tafel* = i* Number(input.text);
button.onPress = function() {
    tekstVeld.text = (tafel);

That doesn’t work.
But i when i change Number(input.text); to Number(6); for an example it works.
But i want an number by input!!

What’s wrong??