2 Replies Latest reply on Mar 26, 2010 9:33 AM by Shongrunden

    Move a scroller with code

    JockMahon Level 1

      I have a tabBar that i have put in a scroller, now i want to put two buttons

      outside the scroller so that if the tabBar becomes too big then the user can press the buttons to

      scroll the tabBar across. i don't know how to move the position of the scroller though


      so on the click of the button i need to to see a property of the scroller or its scroll bars ?



              <s:Scroller  id="sd" width="200" horizontalScrollPolicy="off"  >
                      <s:TabBar id="tabs" left="8" y="2" dataProvider="{vs}"/>
              <s:Button label="< />
              <s:Button label=">"/>