2 Replies Latest reply on May 2, 2010 11:58 PM by mangemuck

    Drag constraints

    mangemuck

      Hi!

       

      I've got a few quick answers here before, so I'll try with another problem.

       

      I'm trying to implement drag functionality into my application and found these examples in the live docs:

      http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_7.html#247940

       

      But dragging is allowed "outside" the canvas which just adds a scrollbar to it.

       

      I want to restrict the allowed area so it just can be dragged inside the visible area. How do I do this?

       

      Best regards,

      Magnus