2 Replies Latest reply on Jul 17, 2008 12:55 PM by vf5

    Scrollpane horizontal scrollbar position

    vf5
      ok, i'm stupid. i can't get the code to work to put my horizontal scroll bar on top of the scroll pane, or anywhere else. can someone please help. i'm new to actionscript, for please forgive my ignorant mistakes.

      import mx.containers.ScrollPane;
      on (complete) {
      wak.hPosition(14);
      }

      yes, wak is my scrollpane. this is lame. i've looked all over the internet for help on this...

      THank you.
        • 1. Re: Scrollpane horizontal scrollbar position
          Noelbaland
          Hello,

          I don't think you can change the position of the scrollbar in a ScrollPanel component. The code you've used above moves the scroller (the bit you drag) 14px from the left when your movie starts. There are no methods or properties in the Help files that enable you to move the scroll bar to the top or anywhere in your scroll panel. Scroll bar appears at the bottom for horizontal and to the right for vertical.

          If you've seen this done before, I'm guessing it was custom made with movieclips.
          • 2. Re: Scrollpane horizontal scrollbar position
            vf5 Level 1
            wow. ok. well that really messes up my swf..... how does one create a custom scroll pane. do i use the window and scroll bar as seperate UI components? any help is appreciated....

            thanks.