7 Replies Latest reply on Sep 9, 2009 3:23 PM by kglad

    events that delete functions

    Shad0wdrag0n Level 1

      Say I have a dragable object with something like

       

      on(press){
          startDrag("object");
      }
      on(release){
          stopDrag();

      }

       

      How do I make it so that when the mouse button is released it makes it so the object can't be picked up any more (basically it removes the on(press) part)?