Thanks, Alex - you rock!

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I would add a listener for DRAG_COMPLETE on the dragInitiator in the
> event when you get a DRAG_ENTER, and remove the listener on DRAG_EXIT or
> DRAG_COMPLETE.
> 
>  
> 
> BTW, the dragproxy gets the mouseUp.
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitri Girski
> Sent: Tuesday, January 29, 2008 9:24 PM
> To: [email protected]
> Subject: [flexcoders] DragManager question
> 
>  
> 
> Hi all,
> 
> I am performing my own Drag-n-Drop actions on the custom List
> component and I wondering - how to figure out that drop operation
> actually never happened?
> 
> If I drag the object within the same list and while dragOverHandler is
> not allowing the drop by setting the feedback to NONE there is no way
> to catch the moment when user releases the mouse button and object
> "returns" to its original location.
> 
> DragExit event comes only if you drag the object outside the
> boundaries of the list. DragComplete & DragDrop come only if operation
> successully ends up.
> 
> List itself somehow does not receive the mouseUp event, but it gets
> the mouseDown at the beginning of the Drag operation. (this is the
> most weird moment)
> 
> So, how can I catch the moment when drag operation is cancelled and it
> is time to clear the list selection?
> 
> Thanks in advance!
>


Reply via email to