0 Replies Latest reply on Aug 17, 2006 11:10 AM by refaris

    Scroll Bar

    refaris
      I am trying to make a scrollbar move a movie clip... to begin with, I am just trying to get a trace to happen when the scrollbar changes position... here is the code:

      scrollBar.setVerticle (true);
      scrollBar.setScrollProperties (10, 200, 210);
      scrollBar.setChangeHandler("onChange");

      function onChange(){
      trace("scrollbar moved");
      }

      Nothing traces....

      When i finally get it to call that function when you move the bar, I assume the function would look something like:

      function onChange(){
      movieClip._y = scrollBar.getScrollPosition();
      }


      HELP