"...it is dropping just the label...." I doubt that that is correct. Why do you think it is so? What is the dataProvider type for both lists? The built-in d/d functionality expects the same types in source and target and copies or moves entire items. The second list is expecting the same type of item as the first.
We need more code/detail. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of anuj181 Sent: Tuesday, November 25, 2008 4:44 PM To: [email protected] Subject: [flexcoders] How to send data as XML (data is loaded through HTTP in List Box) Hi All I use HTTP service to load data in List Box. I pasted code below, Now I need to allow drag and drop operation which I am successfully able to do that. However once items are dropped in second list , I need to wrap up the data as XML and send it to server , I guess i will use 'POST' method for that. Now root of my problem is when I am dragging and dropping items from one list to another, it is dropping just the label of the entries in form of string(XML List) but not the full XML node. From visual perspective it looks fine but what I need is to send data as an XML simply as simply sending the string would not process the necessary update to the database. Can anybody help me in getting hold of data in my list as XML but not as simple strings. Any help will be appreciated. Thanks Anuj /***************My Code********************/ <mx:HTTPService id="devicesXML" method="GET" resultFormat="e4x" result="devicesXMLHandler(event)" showBusyCursor="true"> </mx:HTTPService> private function devicesXMLHandler(event:ResultEvent):void { devicesList = event.result.device; devicesCollection = new XMLListCollection(devicesList); nvrsInPoolList.dataProvider = devicesInList; } <mx:List id="nvrsInPoolList" change="selectionChangehandler(event)" allowMultipleSelection="true" dragMoveEnabled="true" dragEnabled="true" dropEnabled="true" y="105" x="17" height="462" width="294"/>

