title: Parsing JSON returned by URLLoader
body: <p>I'm using a URLLoader and URLRequest to make a call to youtube's api. The return is formatted as json and looks like the following: <a href="http://pastebin.com/WxPS9NCB" rel="nofollow">http://pastebin.com/WxPS9NCB</a>.</p>
  
  <p>I'm trying to capture the "href" value located on line 42 in the above pastebin. But the code I have isn't working. </p>
  
  <pre><code>var urlLoader:URLLoader = new URLLoader(new URLRequest(apiURL));
  urlLoader.addEventListener(Event.COMPLETE, function(e:Event) {
          var json:Object = e.target.data;
          var href:String = json.link[0].href;
          trace(href);
  });
  </code></pre>
  
  <p>Any ideas?</p>