Bangs head on monitor!

Simple really, just need to listen for the drag enter or drag over
event.

 

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kenneth Sutherland
Sent: 17 July 2008 11:02
To: flexcoders@yahoogroups.com
Subject: [flexcoders] draging + mouseevents

 

I've created a window with several objects inside it and each one can be
dragged around.

What I can't get to work at the minute is when I'm dragging one of the
objects over another object, the item under the one being dragged isn't
receiving mouse events such as mouse_over or roll_over (this happens 99%
of the time, the 1% being when I move the mouse really fast so that the
cursor moves out of the dragged image area).

I'm using the DragManager.doDrag to create the draggable object, if I
set the dragProxy image to be not displayed (by not setting the height
or width) the items below do get the mouse_over but when I show the
proxy image it seems to be stopping the events.

 

The image has the default 0.5 alpha value which would normally mean that
anything underneath would receive mouse events but not in this case.

 

Any ideas, other than using an existing component such as a list or
datagrid (which would be nice, but just not in this case).

 

Thanks, Kenneth.

 



Disclaimer 

________________________________

This electronic message contains information which may be privileged and
confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited. If you have received
this electronic message in error, please notify us by telephone on 0131
476 6000 and delete the material from your computer.
Registered in Scotland number: SC 172507.
Registered office address: Quay House 142 Commercial Street Edinburgh
EH6 6LB.

This email message has been scanned for viruses by Mimecast.

________________________________

 

Disclaimer 
-------------------------------------------------------------------------------------------
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
-------------------------------------------------------------------------------------------

Reply via email to