Whether the objects are strongly-typed or not, you can stick the AC in as the Tree's DP, but you'll need a custom ITreeDataDescriptor to tell the tree what is a branch and what the children are.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Scott - FastLane Sent: Friday, October 05, 2007 12:01 PM To: [email protected] Subject: Re: [flexcoders] ArrayCollection XMLList? Assuming your ArrayCollection contains strongly typed objects, I think you can make the ArrayCollection itself be the dataprovider for your tree. Your class (the data stored in the ArrayCollection) just needs to implement the get children():Array and get label():String method iirc. hth Scott candysmate wrote: I have an ArrayCollection in Flex which contains the delivery information for a given stock item: boxes quantity 10 20 15 20 17 20 etc .... how can I convert this into an XMLList so that it can be a dataProvider for a tree control where each line is a branch of the tree please?

