I wouldn't try to turn XML into an ArrayCollection. Take a look at the XMLListCollection class.

iloveyouwisconsin wrote:
--- In flexcoders@yahoogroups.com, "iloveyouwisconsin" <stpra...@...> wrote:
Maybe I'm just misstating my question or maybe I'm just not understanding. I'm just trying to make it so that the following PagableArrayCollection is populated dynamically (i.e. via an HTTPService):
[Bindable]
public var myTest:PagableArrayCollection = new
PagableArrayCollection(
[{label:"AK", dataa:"Alaska"},
{label:"AL", dataa:"Alabama"},
{label:"AR", dataa:"Arkansas"},
{label:"AZ", dataa:"Arizona"},
{label:"CA", dataa:"California"},
]);


Does that make sense? I guess another way to say it is: How do I turn xml into a PagableArrayCollection?



------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

Reply via email to