This may be of interest : http://flexibleexperiments.wordpress.com/2007/02/26/flex-201-tree-with-s pring-loaded-folders-update-2/ -----Original Message----- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alan Rother Sent: 09 March 2009 21:54 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes Good to know Alex, I'm still a little (ok, a lot) green can you point me at a good tutorial / example to start from? =] On Mon, Mar 9, 2009 at 2:48 PM, Alex Harui <aha...@adobe.com <mailto:aha...@adobe.com> > wrote: There might be a way to use a custom ITreeDataDescriptor to turn every child into a "branch". Open but empty folders have a middle drop zone for dropping "into". Alex Harui Flex SDK Developer Adobe Systems Inc. <http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui <http://blogs.adobe.com/aharui> From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ] On Behalf Of Alan Rother Sent: Monday, March 09, 2009 12:34 PM To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> Subject: [flexcoders] Flex 3 Tree - Moving Nodes Hey All, I am trying to build a Flex based tree for our content management system here at work. It needs to represent all of the pages on a given site. I already have a good working prototype using XML as the dataprovider and i have a good chunk of the drag and drop functions working well. The problem I am having is around the dragdrop handler. I need to be able to move any page to anywhere on the tree, including below (as a child of) any other page in addition to being able to reorder pages on the same level (same parent node) I can get it to do one or the other but not both at the same time. As far as I can tell, Flex doesn't recognize the difference between a drop on a node and a drop between two nodes. As I think this would solve my problem. Has anyone tackled this problem before? I basically need a simple way for my very non-technical users to drag pages for one of two operations, re-ordering within a section or moving a page to another section. This ExtJS example is almost exactly what I want my Flex tree to do http://www.extjs.com/deploy/dev/examples/tree/reorder.html <http://www.extjs.com/deploy/dev/examples/tree/reorder.html> Except I need to treat every item on the tree as a folder. =]
-- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________