5/6/2010 11:02:00 PM
Title:
Problem with Drag Event as it extends MouseEvent
Hi I am using default dragdrop functionality of Flex3.0 for TileList. When user dragged TileList item on "Trash" (which is drop target) it will removes the dragged TileList Item.
The problem is TileList items width and height is more and DragEvent will get captured when actual mouse pointer is on the drop target while dragging.
Is there any way to make TileList item droppable on drop target when it's any part or corner will touches the drop target, Instead of mouse pointer?
I really appreciate the solution on this. Please help!!
Thanks,
Nilesh
5/7/2010 2:03:11 AM
you can use hittest to check when the object touches the target and execute the drop target code
5/7/2010 3:28:37 AM
Thanks Warrior for reply!!
But could you please assist me to use hit test between TileList item and HBox (drop target)?
I am seeing ppls are use Hit test only for Charts. Not getting a single example of drag drop with hit test.
I really appreciate your assistance.
Thanks,
Nilesh