I see.  You don't want to allow dropping at the top-level.

I think you can get the DRAG_OVER event, look at where the mouse is, and call 
event.preventDefault()

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of timgerr
Sent: Monday, October 05, 2009 2:18 PM
To: [email protected]
Subject: [flexcoders] Re: Trees are killing me



I am creating an app that folders are groups and leafs are users. I want users 
in groups (folders) only.

Tim

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Alex 
Harui <aha...@...> wrote:
>
> You have folders mixed with non-folders and you only want to allow dropping 
> on the folder rows? Why not allow dropping on the leaf rows?
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
>
> From: [email protected]<mailto:flexcoders%40yahoogroups.com> 
> [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com>] On 
> Behalf Of timgerr
> Sent: Monday, October 05, 2009 10:28 AM
> To: [email protected]<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Trees are killing me
>
>
>
> Hello all,
> I was wondering if someone could help me. I have a tree with 3 folders, how 
> can I make sure nodes get dropped into the folders?
>
> Thank for the look,
> timgerr
>

Reply via email to