0 Replies Latest reply on Oct 8, 2009 9:21 AM by vpxav

    [not solved] Displaying a slider's value into a text component, both are inside a repeater

    vpxav

      Hello everyone,

      I have a repeater containing the following:

      <mx:Text
           id="myText"
           text="{mySlider.value}%"
           fontSize="20"
      />
      
      <mx:HSlider id="mySlider"
           width="100%"
           minimum="0"
           maximum="100"
           dataTipPlacement="bottom"
           labels="['0%','50%','100%']"
           snapInterval="1"
           tickInterval="25"
           liveDragging="false"
           allowTrackClick="true"
           value="{myRepeater.currentItem.@actualvalue}"
      />
      

      I would like all the occurences of myText to display mySlider.value...

      How should I do this? It works if it's not inside a repeater but I don't know how to manage this if it is.

      Thanks a lot...