1 Reply Latest reply on Sep 19, 2007 11:52 PM by tnylsej

    Slider change

      Hi all,

      I've a slider which calls a function onSliderChange() when the user moves the thumb.

      <mx:HSlider id="scale" liveDragging="true" minimum="1" maximum="100" labels="['1','100']" width="500" height="30" change="onSliderChange()" />

      This onSliderChange() will then pass some data to another function, functionA.

      However, if the user does not move the thumb of the slider, the default data will be passed to functionA.

      How do I check if the user has moved the thumb?

      ie. if user moves the thumb, call onSliderChange(), else pass default values to functionA.

      Any help is very much appreciated. ^^