Should be mouseEventToItemRenderer(dragEvent).data

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: Friday, October 09, 2009 7:03 AM
To: [email protected]
Subject: [flexcoders] Re: Trees are killing me



OK, I am now hanging my hat in hand. I need help with a method to get the 
object of the folder that I am over, I have no idea how to do this. PLEASE 
HELP!!!!!

Thanks, maybe I can get my dignity back.

timgerr

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Alex 
Harui <aha...@...> wrote:
>
> You should be getting DRAG_OVER events. The dragSource contains the object 
> being dragged. You can use mouseEventToItemRenderer to get the renderer you 
> are currently over.
>
> 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: Tuesday, October 06, 2009 8:54 PM
> To: [email protected]<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Re: Trees are killing me
>
>
>
> Thanks for the response, I have a question for ya. I am dragging with in a 
> tree, how can I get the object that I am dragging and when I drag over 
> something how can I get that object. I am using an arraycollection.
>
> Thanks again for the help.
> timgerr
>
> --- In 
> [email protected]<mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>,
>  Alex Harui <aharui@> wrote:
> >
> > 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:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>
> >  
> > [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>]
> >  On Behalf Of timgerr
> > Sent: Monday, October 05, 2009 2:18 PM
> > To: 
> > [email protected]<mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>
> > 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><mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>,
> >  Alex Harui <aharui@> 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:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>
> > >  
> > > [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com>]
> > >  On Behalf Of timgerr
> > > Sent: Monday, October 05, 2009 10:28 AM
> > > To: 
> > > [email protected]<mailto:flexcoders%40yahoogroups.com><mailto:flexcoders%40yahoogroups.com><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