1 Reply Latest reply on Apr 23, 2009 3:19 PM by Gregory Lafrance

    VSlider Changing Position of Min. and Max.

    dpark1113

      Hi,

       

      The default position is from bottom(min) to top(max), is there a way to change this to bottom(max) to top(min)?

       

      For example,

       

      Default:

      5

      4

      3

      2

      1

       

       

      I want to change this to:

      1

      2

      3

      4

      5

       

      Thanks!

        • 1. Re: VSlider Changing Position of Min. and Max.
          Gregory Lafrance Level 6

          You may need to embed the font for the labels to show up, and the display on initialization is not perfect, but this may get you started, if there is no easy way to do this.

           

          <?xml version="1.0" encoding="utf-8"?>
          <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
            <mx:Rotate angleFrom="0" angleTo="180" duration=".01" id="rot"/>
            <mx:VSlider id="vs" minimum="1" maximum="5" visible="false"
              labels="[1,2,3,4,5]" snapInterval="1" liveDragging="false"
              creationCompleteEffect="{rot}" creationComplete="vs.visible=true"/>
          </mx:Application>