2 Replies Latest reply on Feb 28, 2007 5:02 PM by Newsgroup_User

    scrollbar reset

    Level 7
      Hi,
      If I have text with a scrollbar, either the standard scrollbar or a
      custom made one using the behavior in the Library Palette, when I view
      the text on stage and scroll it, then jump to another part of the
      presentation, then jump back, the text is still scrolled to the point I
      was before. How do I reset it to be at the top?
      Thanks.

        • 1. Re: scrollbar reset
          Level 7
          set the scrolltop of the member to 0

          --
          Craig Wollman
          Lingo Specialist
          Word of Mouth Productions
          212-928-9581

          www.wordofmouthpros.com
          "stu" <webforumsuser@macromedia.com> wrote in message
          news:45E61D17.8A6B9109@macromedia.com...
          > Hi,
          > If I have text with a scrollbar, either the standard scrollbar or a
          > custom made one using the behavior in the Library Palette, when I view
          > the text on stage and scroll it, then jump to another part of the
          > presentation, then jump back, the text is still scrolled to the point I
          > was before. How do I reset it to be at the top?
          > Thanks.
          >


          • 2. Re: scrollbar reset
            Level 7
            Behavior attached to the text sprite:
            --
            on beginSprite me
            sprite(me.spriteNum).member.scrollTop = 0
            end