I have modified Your code and placed it here. it is working fine.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute"
private function onJSONLoad(event:ResultEvent):void
var rawData:String = String(event.result);
var info:Object = new JSONDecoder(rawData,true).getValue().movies as Object;
var dp:ArrayCollection = new ArrayCollection(ArrayUtil.toArray(info));
grid.dataProvider = dp;
var urlString:String = "http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=u9pv5 4jkhnhemfx8x6u8q83r&q=Jack&page_limit=1";
<mx:HTTPService id="service" resultFormat="text"
<mx:DataGrid id="grid" right="10" left="10" top="10" bottom="10" >
<mx:DataGridColumn headerText="Title" dataField="title" />
<mx:DataGridColumn headerText="Year" dataField="year" />
And place column name which columns do want to show. And as3corelib.swc it is a library download it for jsondecoder.
I think it would be helpful for you.
I tried that actually, but I copied your code in exactly, and it won't compile. It says "access of undefined property movies".
Anyone else have any ideas?
Run one of the objects through ObjectUtil.toString() and post it here and tell us which fields you want to show.
I guess I'm not even understanding how the JSON object gets added to the array. How do I retrieve an individual object?
Hm... strange. I re-copied your code, and although I had to change var info:Object = new JSONDecoder(rawData,true) to var info:Object = new JSONDecoder(rawData) it seems to work now. I'm not sure what I did before... but thanks!