I think you can put drag_enter on the application or maybe a background
behind everything?  Or pick up drag_enter in capture phase.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of flashcrow2000
Sent: Monday, August 27, 2007 11:05 PM
To: [email protected]
Subject: [flexcoders] Re: Drag and drop for list items

 

I think I'm trying to go with the first option (making everything a
valid droptarget). The problem is that I'm working with some existing
components and they have no "dropEnabled" property. Is there any way
to make them "drop-enabled"? 

Another solution would be to use an invisible sprite, or something,
and drag that along with my list item, and use that as a drop target.
But I think it's a bit cumbersome, so, please let me know if there's
any other way.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Maybe by making everything else a valid droptarget? Or do you want the
> "no-drop" feedback during mousemove?
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of flashcrow2000
> Sent: Monday, August 27, 2007 6:21 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Drag and drop for list items
> 
> 
> 
> Hi all,
> 
> I have a problem (obviously). It's a bit hard to explain, but I'll do
> my best.
> 
> So...I have a list item, and whenever I drag and drop one entry
> outside of the list, I want it to display the same animation as when
> I'm dropping the entry on the list ( or any other mxml element which
> support dropEnabled). 
> 
> For example. If you drag and drop one item from one list, to another,
> the dragged item will zoom out under your mouse. If you drag and drop
> the item outside a drop enabled element, it will zoom out and slide
> back to it's original position on it's parent list.
> 
> Is there a way to tell the list to always just zoom out the dragged
> element, regardless of the drop target? (I really hope I managed to
> make myself understood).
> 
> Thanks guys,
> Cosmin
>

 

Reply via email to