Still experiencing the drop indicator visibility issue. This method handles the 'dragOver event (and is executing):
private function onDragOver(de:DragEvent):void { de.preventDefault(); var owner:List = this.owner as List; var dropLocal:DropLocation = owner.layout.calculateDropLocation(de); trace (dropLocal); owner.layout.showDropIndicator(dropLocal); } However, the drop indicator is not visible. I set a breakpoint in the code above and it appears the width of the drop indicator is 0... Any ideas how to get this working? Thanks. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 2 Sep 2010 19:15:04 +0000 Subject: [flexcoders] Drop Target indicator visibility issue Currently experiencing a 'drop target indicator visibility' issue... The drop target indicator is not visible when dragging an ItemRenderer in a Spark List with the following implementation: ( note the 'dragOver handler' (with 'layout.showDropIndicator' behavior) is in the 'onDragOver' method below): <s:List itemRenderer="GroupItemRenderer" dropEnabled="false" useVirtualLayout="true" width="100%"> <s:layout> <s:HorizontalLayout /> </s:layout> </s:List> GroupItemRenderer (referenced in the list above): <s:ItemRenderer autoDrawBackground="true" dragOver="onDragOver" dragDrop="onDragDrop(event)", dragEnter="this.onDragEnter(event)" > <fx:Script> <![CDATA[ private function onDragOver(de:DragEvent):void { de.preventDefault(); var owner:List = this.owner as List; var dropLocal:DropLocation = owner.layout.calculateDropLocation(de); owner.layout.showDropIndicator(dropLocal); } ]]> </fx:Script> Any ideas on how to get this working? Thanks, Philip