     private function calculateDropLocation(event:DragEvent):DropLocation
     {
         // Verify data format
-        if (!enabled || !event.dragSource.hasFormat("orderedItems"))
+        if (!enabled || !event.dragSource.hasFormat("itemsByIndex"))
             return null;
         
         // Calculate the drop location

     */
    public function addDragData(dragSource:DragSource):void
    {
        dragSource.addHandler(copySelectedItemsForDragDrop, "orderedItems");
        
        // Calculate the index of the focus item within the vector
        // of ordered items returned for the "orderedItems" format.
        var caretIndex:int = 0;
        var draggedIndices:Vector.<int> = selectedIndices;
        var count:int = draggedIndices.length;

        DragManager.showFeedback(event.ctrlKey ? DragManager.COPY : DragManager.MOVE);
        
        var dragSource:DragSource = event.dragSource;
        var items:Vector.<Object> = dragSource.dataForFormat("itemsByIndex") as Vector.<Object>;

        var caretIndex:int = -1;
        if (dragSource.hasFormat("caretIndex"))
            caretIndex = event.dragSource.dataForFormat("caretIndex") as int;
        
        // Clear the selection first to avoid extra work while adding and removing items.
        // We will set a new selection further below in the method.
