1 Reply Latest reply on Jun 8, 2007 6:28 PM by Peter_Connolly

    How to address relative cell in TileList during drag-and-drop processing

    Peter_Connolly
      Is there a way to address the tile cell being dropped onto during the dragDrop function processing?

      private function myDragDrop(e:DragEvent):void {
      // e.whatthe#*&$
      }

      <mx:TileList id="tilelist1" rowCount="9" columnCount="9"
      dragDrop="myDragDrop(event);" dataProvider="{anyOldAC}"/>

      If I'm dropping an object on the 3rd row and 5th column, I'd like to be able to manipulate the15th entry in the dataProvider without having to figure out the cell number from the component geometry and mouseX/mouseY. Using component geometries just seems WAY too brittle.