Maybe you shouldn't register the canvas.  Put another child in the
canvas with alpha=0 that goes behind all the other children and register
that.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nick Collins
Sent: Wednesday, February 20, 2008 11:14 AM
To: flexcoders
Subject: [flexcoders] Drag and Drop issues

 

I've got an application I'm working on where I need to be able to drag
things onto a Canvas, and sometimes into containers that are children of
the canvas.

The problem I'm having is that when I have another container inside the
canvas, it doesn't register the dragEnter event, even though I have
added an event listener for that event to the component. Instead, only
it's parent dispatches the dragEnter event.

How can I get the child components to register when the user drags over
them, versus the parent canvas?

 

Reply via email to