RE: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Tracy Spratt
: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ArrayCollection XMLList? 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 ch

RE: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Alex Harui
TECTED] On Behalf Of Scott - FastLane Sent: Friday, October 05, 2007 12:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection XMLList? Assuming your ArrayCollection contains strongly typed objects, I think you can make the ArrayCollection itself be the dataprovider for

Re: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Scott - FastLane
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