1 Reply Latest reply on Sep 20, 2006 1:59 PM by Damon Edwards

    Skinning a scrollbar, need help...

    withhisstripes Level 1
      Heya,
      I can't seem to find any good tutorials on how to either skin an existing scrollbar component or create a really basic custom one. It will need to scroll a dynamic text box. Thanks!
        • 1. Re: Skinning a scrollbar, need help...
          Damon Edwards Level 3
          you can create a dynamic text field and put all your text in it. say you name the text field "AboutMe_txt"...create two buttons, one for up, and one for down. attatch this code to the down button
          on(release)
          {
          AboutMe_txt.scroll = AboutMe_txt.scroll +5;
          }
          ------------------------------------
          and this to the up button

          on(release)
          {
          AboutMe_txt.scroll = AboutMe_txt.scroll -5;
          }


          ---------------------------------------------
          replace "AboutMe_txt" with whatever you name your instance