Drag and drop on a Tree
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> private function initApp():void { firstList.dataProvider = treeDP; } </mx:Script> <mx:XML id="treeDP"> <node label="A"> <node label="A1"/> <node label="A2"> <node label="A3"/> </node> <node label="B"/> <node label="C"/> <node label="D"/> </node> </mx:XML> <mx:Tree id="firstList" showRoot="false" labelField="@label" dragEnabled="true" dropEnabled="true" allowMultipleSelection="true" creationComplete="initApp();"/> </mx:Application>