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.
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
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
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
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
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
@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
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
:
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
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
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
11 matches
Mail list logo