2 Replies Latest reply on Jul 31, 2006 2:41 AM by Antoni_H.

    mouseX / mouseY skipping every other pixel

    Paul Spitzer
      I have a class which extends sprite and in which I am capturing mouseX and mouseY on a timer. The mouseX/Y values are always either even or odd but never both. They always jump two pixels. Can anyone else confirm this behavior?

      this.timer = new Timer(10);
      this.timer.addEventListener(TimerEvent.TIMER, this.handleTimer);
      this.timer.start();
      ...
      // in handle timer
      trace(this.mouseX);

      I also tried using the MOUSE_MOVE event but it suffered the same results.