3 Replies Latest reply on Aug 20, 2010 4:43 AM by See Sam Jagan

    Continuous MouseDown

    Mohd Fayaz Level 1

      I am trying to develope a custom Numeric Stepper using ZoomIn/ZoomOut images as scroller.

      Now I want to handle continuos MouseDown event. The problem is that the MouseDown event is triggered only once. But, I want a behaviour of MouseDown to be similar of  Flex NumericStepper. The longer we press and hold the scroller, the faster the numbers are increased. I tried using timer which starts on mouseDown and stops on MouseUp. But the problem is that, timer ticks at constant intervals and I cannot achieve the behavious of NumericStepper.

       

      Can anybody please help me out on this issue.