<?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: ActionScript: getURL vs. ExternalInterface &#8211; When &amp; Why</title>
	<atom:link href="http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm</link>
	<description>it's easy once you know how.</description>
	<lastBuildDate>Thu, 11 Mar 2010 12:29:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jeff</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-5725</link>
		<dc:creator>jeff</dc:creator>
		<pubDate>Mon, 14 Sep 2009 17:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-5725</guid>
		<description>Hello-

James, thank you for the insight into the ExternalInterface function.  I am trying to get actionscript to communicate w/ javascript.  The situation is:  I have an aspx page, w/ a login and password at the top and a flash movie as the main active area.  When user clicks on a btn in the main area, I need to call javascript from flash to check if user is logged in already or the id and password are valid.  From what I know to keep it on the client-side, ExternalInterface is the best option.  I thought using this w/in a btn to receive a value through a string, then based on the value returned have an if/else conditional to navigate to the proper frame label...either please login with your username and password, or grant access and go to the appropriate frame.  Could you help fill in the blanks?  Thanks.....

-Jeff</description>
		<content:encoded><![CDATA[<p>Hello-</p>
<p>James, thank you for the insight into the ExternalInterface function.  I am trying to get actionscript to communicate w/ javascript.  The situation is:  I have an aspx page, w/ a login and password at the top and a flash movie as the main active area.  When user clicks on a btn in the main area, I need to call javascript from flash to check if user is logged in already or the id and password are valid.  From what I know to keep it on the client-side, ExternalInterface is the best option.  I thought using this w/in a btn to receive a value through a string, then based on the value returned have an if/else conditional to navigate to the proper frame label&#8230;either please login with your username and password, or grant access and go to the appropriate frame.  Could you help fill in the blanks?  Thanks&#8230;..</p>
<p>-Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmitry</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-3540</link>
		<dc:creator>dmitry</dc:creator>
		<pubDate>Sat, 21 Feb 2009 01:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-3540</guid>
		<description>THANK YOU SO MUCH JAMES!
flash.external.ExternalInterface.call(&quot;alert&quot;, &quot;ALERT&quot;);</description>
		<content:encoded><![CDATA[<p>THANK YOU SO MUCH JAMES!<br />
flash.external.ExternalInterface.call(&#8220;alert&#8221;, &#8220;ALERT&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-1621</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 20 Aug 2008 10:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-1621</guid>
		<description>@me - that JavaScript injection article (&lt;a href=&quot;http://www.actionscript.org/resources/articles/745/2/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page2.html&quot; rel=&quot;nofollow&quot;&gt;http://www.actionscript.org/resources/articles/745/2/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page2.html&lt;/a&gt;) is quite interesting - and a neat hack, which could prove useful in certain situations...</description>
		<content:encoded><![CDATA[<p>@me &#8211; that JavaScript injection article (<a href="http://www.actionscript.org/resources/articles/745/2/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page2.html" rel="nofollow">http://www.actionscript.org/resources/articles/745/2/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page2.html</a>) is quite interesting &#8211; and a neat hack, which could prove useful in certain situations&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: me</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-1619</link>
		<dc:creator>me</dc:creator>
		<pubDate>Wed, 20 Aug 2008 09:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-1619</guid>
		<description>Hi,

A bit of a late reaction but in your article you state that ExternalInterface does need a named function to exist.
This is a common misconception, as explained in &lt;a href=&quot;http://www.actionscript.org/resources/articles/745/2/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page2.html&quot; title=&quot;this article&quot; rel=&quot;nofollow&quot;&gt;.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>A bit of a late reaction but in your article you state that ExternalInterface does need a named function to exist.<br />
This is a common misconception, as explained in <a href="http://www.actionscript.org/resources/articles/745/2/JavaScript-and-VBScript-Injection-in-ActionScript-3/Page2.html" title="this article" rel="nofollow">.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Coatta</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-713</link>
		<dc:creator>Terry Coatta</dc:creator>
		<pubDate>Thu, 20 Mar 2008 22:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-713</guid>
		<description>We just use:

    fscommand(cmd);

in the Flash code. &#039;cmd&#039; is a line of JavaScript that will be executed by the JavaScript interpreter running within the PDF document. If you have defined JavaScript functions in hte document, you should be able to call them.

Terry.</description>
		<content:encoded><![CDATA[<p>We just use:</p>
<p>    fscommand(cmd);</p>
<p>in the Flash code. &#8216;cmd&#8217; is a line of JavaScript that will be executed by the JavaScript interpreter running within the PDF document. If you have defined JavaScript functions in hte document, you should be able to call them.</p>
<p>Terry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor S.</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-700</link>
		<dc:creator>Victor S.</dc:creator>
		<pubDate>Mon, 17 Mar 2008 17:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-700</guid>
		<description>sorry for the bump...

u said that &quot;We do have fsCommand() working to send information from the SWF to the containing PDF Javascript code.&quot; ....

but i cant find any info on this and icant get it to work... can someone give me an example?

thanx</description>
		<content:encoded><![CDATA[<p>sorry for the bump&#8230;</p>
<p>u said that &#8220;We do have fsCommand() working to send information from the SWF to the containing PDF Javascript code.&#8221; &#8230;.</p>
<p>but i cant find any info on this and icant get it to work&#8230; can someone give me an example?</p>
<p>thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Coatta</title>
		<link>http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm/comment-page-1#comment-224</link>
		<dc:creator>Terry Coatta</dc:creator>
		<pubDate>Sat, 20 Oct 2007 16:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.psyked.co.uk/actionscript/actionscript-geturl-vs-externalinterface-when-why.htm#comment-224</guid>
		<description>I&#039;ll give that a try.

Thanks!

Terry.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll give that a try.</p>
<p>Thanks!</p>
<p>Terry.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
