RE: [flexcoders] Re: Trees are killing me

2009-10-09 Thread Alex Harui
Yes. You have to extend Tree. There is an undocumented, mx_internal version called mouseEventToItemRendererOrEditor. You can call that without extending Tree, but that API can go away in a future release without warning. Alex Harui Flex SDK Developer Adobe Systems Inc.

RE: [flexcoders] Re: Trees are killing me

2009-10-09 Thread Alex Harui
Should be mouseEventToItemRenderer(dragEvent).data Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: Friday, October 09, 2009 7:03 AM To: flex

RE: [flexcoders] Re: Trees are killing me

2009-10-06 Thread Alex Harui
You should be getting DRAG_OVER events. The dragSource contains the object being dragged. You can use mouseEventToItemRenderer to get the renderer you are currently over. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcode

RE: [flexcoders] Re: Trees are killing me

2009-10-05 Thread Alex Harui
I see. You don't want to allow dropping at the top-level. I think you can get the DRAG_OVER event, look at where the mouse is, and call event.preventDefault() Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroup