RE: [flexcoders] Re: Translate HTTPService

2008-07-07 Thread Tracy Spratt
Loop over the item in your data, and in the loop, create a new value object, assign the property values from your current data item, and push the value object onto an Array. After the loop, wrap the Array in an ArrayCollection. Tracy From: flexcoders@yahoo

Re: [flexcoders] Re: Translate HTTPService

2008-07-06 Thread Meaglith Ma
jovialrandor 写道: > I want to convert the data I get back from an HTTPService into name/ > value pairs as listed in the object below. > > eg. > > HTTPService returns > > ["a", "john", "analyst" ] > ["b", "mary", "programmer" ] > ["c", "jane", "director" ...] > > convert to > > "a":"jo