off the flex documentation * <p>Because of the way data to a Tree control is structured, * the Tree control handles drag and drop differently from the other list-based controls. * For the Tree control, the event handler for the <code>dragDrop</code> event * only performs an action when you move or copy data in the same Tree control, * or copy data to another Tree control. * If you drag data from one Tree control and drop it onto another Tree control * to move the data, the event handler for the <code>dragComplete</code> event * actually performs the work to add the data to the destination Tree control, * rather than the event handler for the dragDrop event, * and also removes the data from the source Tree control. * This is necessary because to reparent the data being moved, * Flex must remove it first from the source Tree control.</p>
Is this what you were sort of asking? ----- Original Message ---- From: Rafael Faria <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Monday, February 18, 2008 5:20:03 PM Subject: [flexcoders] Re: Extending Tree component you mean showDropFeedback? Another problem im having is, whenever you try to drop from one tree to another, the event DRAG_COMPLETE or DRAG_EXIT does not works. Any explanation? Alex? --- In [EMAIL PROTECTED] ups.com, Sherif Abdou <[EMAIL PROTECTED] ..> wrote: > > yes just use a style on it to hide it or just remove it > dropIndicatorSkin= "{mx.skins. ProgrammaticSkin }" > or call showFeedBack( ) and hideFeedback( ) > > > > ----- Original Message ---- > From: Rafael Faria <rafaelfaria. [EMAIL PROTECTED] .> > To: [EMAIL PROTECTED] ups.com > Sent: Monday, February 18, 2008 4:37:17 PM > Subject: [flexcoders] Re: Extending Tree component > > Nobody? > > --- In [EMAIL PROTECTED] ups.com, "Rafael Faria" > <rafaelfaria. grupos@ .> wrote: > > > > I'm extending the Tree component and i have had some great progress > > with it. > > > > Somethings still bug me like the place you will drop the item. > > Whenever you drag an item, a thick black line show marking where will > > be drop it. The thing is, sometimes i'm positioning the element over > > the element i want to drop and the line is still on the item above it. > > > > The line i'm mentioning is this one: http://www.rafaelfa ria.net/tree. png > > > > Is there any way to controle this line? I mean, is there any way to > > choose exactly the item i want to drop it? > > > > Thanks > > > > > > > > ____________ _________ _________ _________ _________ _________ _ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo. com/r/hs > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs