12 Replies Latest reply on Jul 2, 2009 12:51 PM by kglad

    Simple: Adding two numbers in AS2

    xbonez

      So, i have three text boxes, add1, add2, add3: two are 'input text', third is 'dynamic text'.

       

      I am doing

       

      _root.add3 = Number(_root.add1) + Number(_root.add2);

       

      but it returns NaN to me everytime.

       

      What am I doing wrong?