0 Replies Latest reply on Nov 1, 2009 6:08 AM by gloriousflaw

    UIScrollBar component - resetting scroll position?

    gloriousflaw

      Hi

      I'm fairly new to using flash components, and I'm having a little trouble with the UIScrollbar..

       

      I'm using frame layers to navigate within the movie, each has a dynamic text box containing text, and I've attached a UIScrollBar to the different text boxes on each frame and made sure to change the scrolltargetname to the names of the different text boxes. Everything works fine, the scrollbars work on each different frame when you select the corresponding button but the problem is this..

       

      When you scroll on one frame, if you click on another button to visit another frame with a different text box - the scrollbar isn't positioned at the top everytime. I want to be able to reset the scrollbars position each time you visit but I'm unsure of how to do that? I don't have any AS3 for the scrollbars as it is working without them, so I'm not sure what would need to be defined or what code to use.

       

      Any help would be appreciated! Thanks