I think you have to call preventDefault on the event.

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Wednesday, April 18, 2007 7:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dragging from a Datagrid to a tree



this seems pretty straight forward. I am dragging from a datagrid to
a tree, but i get the red X.

on the tree i set dragEnter="onDragEnter(event)" dropEnabled="true"

then i have:

private function onDragEnter(event:DragEvent):void{

DragManager.acceptDragDrop(UIComponent(event.currentTarget))

}

What the buggers?!



 

Reply via email to