<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: externalinterface code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 24 Jul 2008 23:31:30 GMT</pubDate>
    <description>DZone Snippets: externalinterface code</description>
    <item>
      <title>Pass JSON to Flash's ExternalInterface</title>
      <link>http://snippets.dzone.com/posts/show/4007</link>
      <description>&lt;code&gt;&lt;br /&gt;var json : String =&lt;br /&gt;	"{a: 1, b: 'hello world', c: [1, 3, 4, 5]}";&lt;br /&gt;&lt;br /&gt;var o : Object =&lt;br /&gt;	ExternalInterface.call("function(){return " + json + ";"}");&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The variable o should now contain an object representation of the string json.&lt;br /&gt;Stolen from http://blog.iconara.net/2007/01/20/parsing-json-using-externalinterface/</description>
      <pubDate>Mon, 14 May 2007 07:10:25 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4007</guid>
      <author>sikelianos (Zeke Sikelianos)</author>
    </item>
  </channel>
</rss>
