Select to view content in your preferred language

Double Click on Graphic is not Working

635
1
03-15-2011 09:54 PM
Arusham
Emerging Contributor
Hi,
I had created an application where the user can click on map and a marker will be created and it stores x y values and stored in database and user can also drag the marker and place it to appropriate position and after the user drag and drop the marker we have a confirm button to send the x y values to database. I need to remove that confirm button and replace that with the double click where user double clicks the marker parameters should pass.

For dragging marker i use mousedown event, but when i add doubleclick event its not working

  gr.doubleClickEnabled = true;
  gr.addEventListener(MouseEvent.DOUBLE_CLICK,registerComplaint);
  gr.addEventListener(MouseEvent.MOUSE_DOWN,mousedownGraphic);

even when i comment the mouse down event double click on graphic marker is not working.

Help me out in this task as i need to do urgently.

Regards
Arun Mohan
Tags (2)
0 Kudos
1 Reply
Arusham
Emerging Contributor
Hi,

My double click event got worked as its been answered by adobe forum

http://forums.adobe.com/message/3551641#3551641

Anyway thanks for trying to resolve this

Regards
Arun Mohan
0 Kudos