RE: [flexcoders] Drag And Drop Question: List within list...

2007-12-17 Thread Alex Harui
Actually, it turns out you hit the array-of-one problem described here:
http://blogs.adobe.com/aharui/2007/03/arraycollection_arrays_and_ser.htm
l
 
Node  only has one child and won't be converted properly.



From: Alex Harui 
Sent: Monday, December 17, 2007 12:03 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Drag And Drop Question: List within list...


Tree is buggy in Flex 2.  If you can, get on the beta for Flex 3 and see
if you still have problems there.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Boson Au
Sent: Thursday, December 06, 2007 10:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag And Drop Question: List within list...



Hi everyone, I'm a beginning Flex Developer, but I've had a couple of
years experience w/ scripting.

here's my problem:

my current app basically deals with folders and files, such that a
folder has files and a folder can have another folder (that has files
or other folders... you get the idea) 

I'm populating this using a really simple xml list of nodes and
children.

I'm using a tree control with DnD enabled. I've been testing this and
here's what's going on:

1.) I drag the files and folders around on the own 'level' and reorder
them: all good.
2.) I drag a file from one folder and put them in another, this is
where it gets weird. It either does not remove the original object
being dragged from its previous list, or it disappears into the ether
and I just straight up lose the object.

can anyone help? I uploaded the test at
http://www.americanforkliftsociety.com/flexStuff/xmlTest.html
<http://www.americanforkliftsociety.com/flexStuff/xmlTest.html>  (rt
click to view source)...



 


RE: [flexcoders] Drag And Drop Question: List within list...

2007-12-17 Thread Alex Harui
Tree is buggy in Flex 2.  If you can, get on the beta for Flex 3 and see
if you still have problems there.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Boson Au
Sent: Thursday, December 06, 2007 10:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag And Drop Question: List within list...



Hi everyone, I'm a beginning Flex Developer, but I've had a couple of
years experience w/ scripting.

here's my problem:

my current app basically deals with folders and files, such that a
folder has files and a folder can have another folder (that has files
or other folders... you get the idea) 

I'm populating this using a really simple xml list of nodes and
children.

I'm using a tree control with DnD enabled. I've been testing this and
here's what's going on:

1.) I drag the files and folders around on the own 'level' and reorder
them: all good.
2.) I drag a file from one folder and put them in another, this is
where it gets weird. It either does not remove the original object
being dragged from its previous list, or it disappears into the ether
and I just straight up lose the object.

can anyone help? I uploaded the test at
http://www.americanforkliftsociety.com/flexStuff/xmlTest.html
  (rt
click to view source)...