You understand that you do not need to extend Tree just to do this?  You
can simply implement your own handlers, and call event.preventDefault.
Subclassing has its own set of headaches, so don't do it if you don't
need to.

 

If you need to subclass for other purposes, ok.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ryan Gravener
Sent: Friday, August 15, 2008 3:39 PM
To: [email protected]
Subject: [flexcoders] Drag/Move inside self

 

I have extended Tree and overridden the methods:

dragOverHandler and dragDropHandler.

For the mxml I set the drag/drop booleans:

dragEnabled="true"
dropEnabled="true"    
dragMoveEnabled="true"

When I drag and move within my Tree, the item I have selected and
started dragging drags, but the dropFeedback which should show for
DragManager.MOVE does not show.  Now when I drag this item into a
different instance of this tree, the feedback shows.

Thanks,
Ryan Gravener
http://ryangravener.com/flex <http://ryangravener.com/flex> 

 

Reply via email to