1 Reply Latest reply on Nov 7, 2008 12:11 PM by clbeech

    drag x only?

    Walloompoom
      This should be an easy one but I'm having trouble finding the answer.
      How do you drag&drop x only? Like a slide bar but with no boundries
        • 1. Re: drag x only?
          clbeech Level 3
          using startDrag() you can specify the parameters needed, effectively 'locking' the y position and limiting the x boundaries. as in something like:

          startDrag(this, false, 0, 0, 100, 0);

          this will limit the drag from 0,0 to 100, 0