3 Replies Latest reply on Nov 14, 2009 1:21 PM by Yannis Develekos

    Reset slider? Impossible!

    Yannis Develekos

      OK, I said it all. I have already spent the whole day and didn't manage to reset my slider. The code:

       

      <mx:HSlider id="priceSlider"

      minimum="

      50000" maximum="3000000"

      tickInterval="

      300000"

      snapInterval="

      100000"

      thumbCount="

      2"

      values="

      [50000,3000000]"

      labels="

      [€50.000,€4M.]"

      liveDragging="

      true"

      showTrackHighlight="

      true"

      width="

      100%"

      dataTipFormatFunction="

      {cf.format}"

      change="doFilter()"

      />

      (Really, is there a way to paste formatted code in here?)

      My question is how do I use a button or linkbutton to reset the slider values after I have moved the thumbs around, and refresh the slider to show the thumbs in their original position.

      Thank you in advanced,

      Yannis