Re: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Sönke Rohde
hi jason, this was not the problem. look at my example i responsed to Matt. Cheers Sönke the return from your dataForFormat call is anarray or a collection. so try trace("data " + data[0].toString()); where the [0] is the first item in the collection or array.

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Jason Hawryluk
11:59À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Tree DragAndDrop no data for leaf hi jason, this was not the problem. look at my example i responsed to Matt. Cheers Sönke the return from your dataForFormat call is anarray or a collection. so try tr

Re: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Sönke Rohde
Hi Matt, This really looks like a bug. I have made a simple example. Try to drag the leaf of the tree and there will be traced that the array has length 1 but the trace of the item itself is empty. Cheers, Sönke ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Jason Hawryluk
I really see no prob with this i traced isArray l 1 doDragDrop Title label="Intern" Name label="Kapil Virdi"/ /Title Seems to work, what exactly are you expecting ? as a result other then the above jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Jason Hawryluk
never mind i see now the leaf is the problem give me a couple secs -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Jason HawrylukEnvoyé: jeudi 23 février 2006 13:56À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Tree

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Sönke Rohde
Exactly! Seems like a bug doesn't it? Cheers, Sönke Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Jason HawrylukGesendet: Donnerstag, 23. Februar 2006 14:02An: flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Tree DragAndDrop no data

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Jason Hawryluk
@yahoogroups.comObjet: RE: [flexcoders] Tree DragAndDrop no data for leaf Exactly! Seems like a bug doesn't it? Cheers, Sönke Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Jason HawrylukGesendet: Donnerstag, 23. Februar 2006 14:02An

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Jason Hawryluk
De la part de Jason HawrylukEnvoyé: jeudi 23 février 2006 14:02À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Tree DragAndDrop no data for leaf never mind i see now the leaf is the problem give me a couple secs -Message d'origine-De: flexcoders@yahoo

Re: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-23 Thread Sönke Rohde
: flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Tree DragAndDrop no data for leaf I have to assume that if this works var data:Object = event.dragSource.dataForFormat("treeItems");trace("doDragDrop " + data[0].parent()); the xml or return objec

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Matt Chotin
It may be a bug in the drag and drop code. Can you send a test case? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke Rohde Sent: Wednesday, February 22, 2006 10:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree DragAndDrop

RE: [flexcoders] Tree DragAndDrop no data for leaf

2006-02-22 Thread Jason Hawryluk
the return from your dataForFormat call is anarray or a collection. so try trace("data " + data[0].toString()); where the [0] is the first item in the collection or array. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de