header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
NileshPawar
Points:280
Posts:0
Answered

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



1
Warrior
Points: 420
Posts:0
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

2
NileshPawar
Points: 280
Posts:0
Accepted Answer
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


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions