0 Replies Latest reply on Sep 5, 2007 1:20 AM by daniel.kvist

    Alpha decimal bug AS 2.0?

      Hello! I'm working on a photo gallery slideshow loading pictures externally. I have a setInterval to count up/down the "alpha" and up/down the "_x". The "_x" is working fine but the "alpha" only works when set to 25 or 50. I've been running traces on it when set to 5, 10 and 20 and it adds up a decimal value instead of a whole number. Been trying to get it right with Math.round but it wont count correct. Anyone have any idea of what this problem is about? I'll post an example for anyone to please have a look at...

      trace returns: 9.765625

      Anyone with ideas?