Try this private function setDragInitator(event:MouseEvent):void { dropInitiator = event.currentTarget.id; }
private function action1DragDropHandlerr(event:DragEvent):void { var dropTarget:List = List(event.currentTarget); if(dropInitiator=="action1" ") { DragManager.showFeedback(DragManager.MOVE); DragManager.acceptDragDrop(dropTarget); }else{ DragManager.showFeedback(DragManager.NONE); } } <mx:List id="action1" click="setDragInitator(event);" dragDrop="action1DragDropHandler(event)"/> - Ravi On Tue, Jul 28, 2009 at 1:30 PM, dinesh <dhineshbhara...@gmail.com> wrote: > > Hi All, > > I have two list component ex : A and B..each has data of same > format... i am able to do drag drop within the component... > > but i want to stop drag drop data from A to B or viceversa...since it > has the same format both the components are accepting..please some one > help me....Thanks... > > DineshKumar > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---