3 Replies Latest reply on Oct 25, 2008 11:03 PM by kglad

    Drag Bar Script Help

    GellyBean Level 1
      Hello! I was wondering if anyone might help...

      I have created a Pop Up (without a Scroll bar) and below you can find the script... everything is working out ok, with the exception of the effect I am looking for when dragging. When I attempt to drag the Pop Up around, the background moves with it( buttons and everything).

      What should happen, is that only the MC inl Window1, 2... should move. Can someone help me figure this out please?

      LINK: removed

      (Scene 1 - frame 1 - Location of the buttons that call up the MC)

      quote:

      boton1.onRelease = function() {
      trace(this);
      var mc = attachMovie("window1", "v", 2);
      mc._x = 300;
      mc._y = 200;
      }
      boton2.onRelease = function() {
      trace(this);
      var mc = attachMovie("window2", "v", 2);
      mc._x = 300;
      mc._y = 200;
      }



      (DragBar)

      quote:

      on (press) {
      _parent.startDrag(false)
      }
      on (release) {
      _parent.stopDrag()
      }


      The Window's MC are Linkaged...