So I have a drag and drop operation, and the data being dragged is some XML. My drophandler looks like this:
protected function dragDropHandler(event:DragEvent):void
{
var item:XML = XML(event.dragSource.dataForFormat("itemsByIndex"));
Alert.show(item);
}
The alert looks like this:

How do can I for example get the ID of this XML? In an alert for example.
You can access the
idproperty withitem.id, thenamewithitem.name, etc. There are a few resources online to learn e4x, which is the easiest way of manipulating XML in AS3.