1 Reply Latest reply on Mar 22, 2007 11:35 AM by Charles Parcell

    adding numerous variables

    MediaMan5335 Level 1
      I am creating a roulette game in Flash. I need to get a total of all the chip amounts on the table. Is there an easier way to do it than;
      totalInPlay = number1 + number2 + number3; ect ect

      I'm guessing there's an easier way. I've tried putting it in a loop, but it will only count the last number in the loop.