I have a list that accepts drops. When an item is dropped (DragEvent.DRAG_DROP) I need to collect the data that is dropped, however I have found nothing in the event that helps me do so, event.dragInitiator.selectedItems would work but gives me an error.
Any help would be appreciated.
The data should be in
event.dragSource. You’ll have to check for the proper format usinghasFormat()and retrieve it withdataForFormat(). Here are the docs for DragSource.Code would be something like this (assuming this is Flex 4):