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?