I have a drag and drop handle in my flex application. i would
like to add one functionality to that, ie, when i am dragging some
components and drag is enabled and now when i pressed the esc
button then the drag should be cancelled and the previous state
should be installed.

How is this done in flex? i see this is already implemented
in most of the platforms and this seems to be an obvious
functionality for an RIA.