Development Flex



    
        
        import mx.collections.ArrayCollection;
        import mx.events.DragEvent;
        import mx.managers.DragManager;
        [Bindable]
        public var myAC:ArrayCollection = new ArrayCollection([
            {name:"A", email:"a@domain.com"},
            {name:"B", email:"b@domain.com"},
            {name:"C", email:"c@domain.com"}]);
            
        public function handleDragEnter(event:DragEvent):void
        {
            var arItems:Array= event.dragSource.dataForFormat("items") as Array;
            
            for (var i:int = 0; i < arItems.length; i++)
                DragManager.acceptDragDrop(dgTarget);
        }
      
    

            dragMoveEnabled="true">