2 Replies Latest reply on Jun 25, 2007 9:50 PM by DZ-015

    really wierd math in flash

    DZ-015 Level 1
      OK - so I have a function that looks at some data, grabs a variable that is an object, another variable that is a parameter, and adds in a third number that is a variable... it looks like this...

      object [ parameter ] += number;

      it's all fairly standard stuff... but it's going absolutely crazy! When I hard code a value into the number, it works great. When I let it grab the number out of an array of numbers, adding it doesn't change the value of the parameter!


      Any tips? Am I breaking any rules?

      here's the code twice with trace output in comment blocks... Just look at the trace output and you will see the problem.