0 Replies Latest reply on Apr 16, 2006 9:05 PM by

    Moving a clip with a custom scrollbar

      This is a newbie question.

      I've devised a custom scrollbar in this test site (in section Ego). The scrollbar is a movie symbol containing another symbol, the scroll button. The scrollbar has code for moving the scroll button and it works.

      Now, on the left, you see a long text that I want to scroll with the scroll button. Pretty simple.
      The text is a movie clip containing several textfields.

      So... how to synchronize both? Probably with a listener that will modify the _y position of the movie clip according to a movement ratio. I'm a little bit confused.

      The text movieclip is called: 'contenu_mc'
      The scroll bottom is called: 'goupillon_mc' (but is inside 'defilement_mc', the whole scrollbar)