EventHandler problem

I have created a function. In it I am listening to a change in 2 textFields. I get the values of them. I show their product in third textField. All this is working fine. But I want to sum all the products I get. I can’t figure put how to do this. :frowning: First I was thinking of array and tried to push the value, then I tried join, but nothing work :(. This is my code:

private function onChange(event:Event):void {
         _num1 = Number(num1.text);
         _num2 = Number(num2.text);
         _proizvedenie = _num1 * _num2;
         proizvedenie.text = String(_proizvedenie);
         
}

Please someone help. I want to sum all the _proizvedenie vars I’ll get. 10x in advance. I’ll be very grateful if someone helps :slight_smile: