2 Replies Latest reply on May 26, 2006 8:43 PM by C-Rock

    Crazy thing happening here!!!

    C-Rock Level 2
      I'm building my own scroller and I'm using a variable to control the height of the middle section of the scoller. I'm setting a variable with a number such as 113. When I set the height equal to the variable it changes the number by what appears to be and extra 1.5% ???

      var newScrollerHeight:Number = Math.floor(scrollbg._height-(contentMain._height-maskedView._height)) // trace = 113;
      dragger.middlePart._height = newScrollerHeight; // trace = 115.6

      ??? This is obviously offsetting all the rest of my alignment for the dragger. Any ideas of why?