How can I prevent the data in the dragSource from being deleted from the dragInitiator? I'm using MM's drag & drop example below. When you drag an item from one list to the other, the data is removed from the dragInitiator and I don't want that to happen. I tried supplying my own dragComplete event handler for the dragInitiator list, but that didn't work. I'm a little surprised that the default behavior is to delete the data from initiator. (The docs suggest that it isn't the default behavior.)
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" width="500" height="200" borderStyle="solid" backgroundColor="#FFFFFF" creationComplete="initApp()"> <mx:Script> <![CDATA[ private function initApp():Void { srclist.dataProvider = ['Reading', 'Television', 'Movies']; destlist.dataProvider =[]; } ]]> </mx:Script> <mx:HBox> <mx:VBox> <mx:Label text="Available Activities" /> <mx:List id="srclist" height="100" multipleSelection="true" dragEnabled="true"/> </mx:VBox> <mx:VBox> <mx:Label text="Activities I Like" /> <mx:List id="destlist" height="100" dropEnabled="true" /> </mx:VBox> </mx:HBox> </mx:Application> _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

