<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Unfucking the ExternalInterface (1 of 2)</title>
	<atom:link href="http://www.calypso88.com/?feed=rss2&#038;p=25" rel="self" type="application/rss+xml" />
	<link>http://www.calypso88.com/?p=25</link>
	<description>ActionScript trials &#38; tribulations.</description>
	<lastBuildDate>Wed, 01 Sep 2010 07:52:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: unterminated string</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-37180</link>
		<dc:creator>unterminated string</dc:creator>
		<pubDate>Sat, 03 Apr 2010 21:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-37180</guid>
		<description>[...] mistake is assuming the behavior of the string replace method will impact all possible matches. ...Calypso88 Blog Archive Unfucking the ExternalInterface (1 ...... generated String as Argument, problems occurr if the string contains ... const JS_CALL:String = [...]</description>
		<content:encoded><![CDATA[<p>[...] mistake is assuming the behavior of the string replace method will impact all possible matches. &#8230;Calypso88 Blog Archive Unfucking the ExternalInterface (1 &#8230;&#8230; generated String as Argument, problems occurr if the string contains &#8230; const JS_CALL:String = [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-35074</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 23 Dec 2009 19:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-35074</guid>
		<description>Nice catch Ronnie, fixed it in the post.</description>
		<content:encoded><![CDATA[<p>Nice catch Ronnie, fixed it in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronnie Swietek</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-35072</link>
		<dc:creator>Ronnie Swietek</dc:creator>
		<pubDate>Wed, 23 Dec 2009 19:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-35072</guid>
		<description>I kept getting a foo is not defined error and changed the JS_CALL const to:

const JS_CALL:String = JS_FUNCTION + &#039;(&quot;&#039; + ARG + &#039;&quot;)&#039;;


and that fixed it</description>
		<content:encoded><![CDATA[<p>I kept getting a foo is not defined error and changed the JS_CALL const to:</p>
<p>const JS_CALL:String = JS_FUNCTION + &#8216;(&#8220;&#8216; + ARG + &#8216;&#8221;)&#8217;;</p>
<p>and that fixed it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeff karova</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-34285</link>
		<dc:creator>jeff karova</dc:creator>
		<pubDate>Mon, 28 Sep 2009 23:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-34285</guid>
		<description>Has anyone had any issues with subsequent ExternalInterface calls? I&#039;m using a time out method as mentioned here to make an ExternalInterface call, but it seems that any subsequent ExternalInterface call simply doesn&#039;t occur.  Oddly, it seems that every other ExternalInterface call is successful. Is there a way to &#039;flush&#039; the ExternalInterface?</description>
		<content:encoded><![CDATA[<p>Has anyone had any issues with subsequent ExternalInterface calls? I&#8217;m using a time out method as mentioned here to make an ExternalInterface call, but it seems that any subsequent ExternalInterface call simply doesn&#8217;t occur.  Oddly, it seems that every other ExternalInterface call is successful. Is there a way to &#8216;flush&#8217; the ExternalInterface?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-33830</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sun, 13 Sep 2009 14:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-33830</guid>
		<description>Good point quirx - although that&#039;s more of a limitation of the ExternalInterface in general. Try calling escape() on your strings in JS, and unescape() when you receive the param in AS.</description>
		<content:encoded><![CDATA[<p>Good point quirx &#8211; although that&#8217;s more of a limitation of the ExternalInterface in general. Try calling escape() on your strings in JS, and unescape() when you receive the param in AS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quirx</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-33827</link>
		<dc:creator>quirx</dc:creator>
		<pubDate>Sun, 13 Sep 2009 13:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-33827</guid>
		<description>The Method works ok for functions with a predefined set of arguments. But if you somehow have a user-generated String as Argument, problems occurr if the string contains quotes or newline characters, etc.
Javascript will throw an error like &quot;unterminated string literal...&quot;
i wonder how we can fix this.</description>
		<content:encoded><![CDATA[<p>The Method works ok for functions with a predefined set of arguments. But if you somehow have a user-generated String as Argument, problems occurr if the string contains quotes or newline characters, etc.<br />
Javascript will throw an error like &#8220;unterminated string literal&#8230;&#8221;<br />
i wonder how we can fix this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Spooner</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-22666</link>
		<dc:creator>Jonathan Spooner</dc:creator>
		<pubDate>Thu, 08 Jan 2009 18:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-22666</guid>
		<description>Good job!  Saved me a bunch of time.</description>
		<content:encoded><![CDATA[<p>Good job!  Saved me a bunch of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: socketBridge: Flash - Javascript Socket Bridge &#187; Matt Haynes - Programming &#38; Tech Blog</title>
		<link>http://www.calypso88.com/?p=25&#038;cpage=1#comment-14073</link>
		<dc:creator>socketBridge: Flash - Javascript Socket Bridge &#187; Matt Haynes - Programming &#38; Tech Blog</dc:creator>
		<pubDate>Tue, 26 Aug 2008 16:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.calypso88.com/?p=25#comment-14073</guid>
		<description>[...] I found a way around this by wrapping all the callbacks from Flash in a setTimeout method. This effectively opens a new javascript thread and as such straight away returns the original callback. I picked up this tip here. [...]</description>
		<content:encoded><![CDATA[<p>[...] I found a way around this by wrapping all the callbacks from Flash in a setTimeout method. This effectively opens a new javascript thread and as such straight away returns the original callback. I picked up this tip here. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
