Re: [flexcoders] JSON as dataprovider

2008-08-14 Thread grimmwerks
Excellent - thanks! On Aug 14, 2008, at 1:19 AM, Fidel Viegas wrote: On Thu, Aug 14, 2008 at 5:54 AM, grimmwerks [EMAIL PROTECTED] wrote: I've got a class that gets a JSON object - and within this JSON object is a list of items. I'm trying to do what I think is very simple -- but I'm

Re: [flexcoders] JSON as dataprovider

2008-08-14 Thread grimmwerks
Ok I've actually had to do this slightly different - as there will be a lot of flipping between items; what I'd hoped to do was something like like a static var of 'db' as ArrayCollection and do a db.removeAll() -- but when I've even manually parsed the var arr and tried doing a

Re: [flexcoders] JSON as dataprovider

2008-08-14 Thread Fidel Viegas
On Thu, Aug 14, 2008 at 2:50 PM, grimmwerks [EMAIL PROTECTED] wrote: Ok I've actually had to do this slightly different - as there will be a lot of flipping between items; what I'd hoped to do was something like like a static var of 'db' as ArrayCollection and do a db.removeAll() -- but when

[flexcoders] JSON as dataprovider

2008-08-13 Thread grimmwerks
I've got a class that gets a JSON object - and within this JSON object is a list of items. I'm trying to do what I think is very simple -- but I'm missing something -- being able to bind a tilelist to an array of this returned objects.items. I've tried manually parsing through these items

Re: [flexcoders] JSON as dataprovider

2008-08-13 Thread Fidel Viegas
On Thu, Aug 14, 2008 at 5:54 AM, grimmwerks [EMAIL PROTECTED] wrote: I've got a class that gets a JSON object - and within this JSON object is a list of items. I'm trying to do what I think is very simple -- but I'm missing something -- being able to bind a tilelist to an array of this

Re: [flexcoders] JSON as dataprovider

2008-08-13 Thread Fidel Viegas
On Thu, Aug 14, 2008 at 6:19 AM, Fidel Viegas [EMAIL PROTECTED] wrote: On Thu, Aug 14, 2008 at 5:54 AM, grimmwerks [EMAIL PROTECTED] wrote: I've got a class that gets a JSON object - and within this JSON object is a list of items. I'm trying to do what I think is very simple -- but I'm