 	import spark.components.List;
 	import spark.components.Scroller;
 	import spark.components.supportClasses.ScrollBarBase;
-    import spark.layouts.HorizontalLayout;
+	import spark.layouts.HorizontalLayout;
 	import spark.layouts.VerticalLayout;
 	
 	use namespace mx_internal;

		 */
		protected function dragDropHandler(event:DragEvent):void
		{
			var dragDropVScrollPos:Number = sparkList.layout.verticalScrollPosition;
			var dragDropHScrollPos:Number = sparkList.layout.horizontalScrollPosition; 
			var am:IAutomationManager = Automation.automationManager;
			
			// Scrolling on the list while dragging is not dispatching any event. 

			
			for (var i:int = 0; i < n; i++)
			{
				
				var selectedIndex:int  =  selItems[i];
				
				if (selectedIndex < firstVisibleIndex)
				{
					selectedItemsAboveView = true;
				}
				else if (selectedIndex > lastVisibleIndex)
				{
					selectedItemsBelowView = true;
				}
				else
				{
					var item:IVisualElement = sparkList.dataGroup.getElementAt(selectedIndex);
					if(item is IAutomationObject)
						result.push(IAutomationObject(item).automationValue);
				}
			}
			
			if (selectedItemsAboveView)
				result.unshift("...");
			
			if (selectedItemsBelowView)
				result.push("...");
			
			return result;
		}		
