0 Replies Latest reply on Feb 13, 2009 7:11 AM by !@#413224

    Numeric Comparisons Fail

    !@#413224
      I have looked everywhere and cannot find a single solution to the failure of numeric comparisons in AS2/Flash 8. I am not sure if the same thing happens in AS3/Flash9+ but I don't have time to convert all my existing flash to AS3 at the moment and need a solution. Try this simple loop in your flash with publish settings for as2 and flash 8.

      I know it is kind of a ridiculous example but it clearly shows what the problem is. How can you possibly take user input, convert it to a number and do a simple comparison. It is very unreliable, most of the time if the number has a decimal in it the comparison will come up false.