<?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: Creating a Flash Facebook application with the Facebook Actionscript API</title>
	<atom:link href="http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Mon, 15 Mar 2010 20:23:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: EZ</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-555245</link>
		<dc:creator>EZ</dc:creator>
		<pubDate>Fri, 12 Mar 2010 22:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-555245</guid>
		<description>Encountered a problem:
My Flash movie is not loaded from my server (&quot;Movie not loaded...&quot;).

Trying to debug the problem I&#039;ve added Emanuele&#039;s SWF to mine:



The result:
The SWF from http://www.gamemummy.com loads just find
The SWF from http://www.microsheep.com does not load

Permission problems?
Any ideas?

P.S
Trying to reach this swf from the browser works just fine:
http://www.microsheep.com/facebook_test/facebook_demo.swf</description>
		<content:encoded><![CDATA[<p>Encountered a problem:<br />
My Flash movie is not loaded from my server (&#8220;Movie not loaded&#8230;&#8221;).</p>
<p>Trying to debug the problem I&#8217;ve added Emanuele&#8217;s SWF to mine:</p>
<p>The result:<br />
The SWF from <a href="http://www.gamemummy.com" rel="nofollow">http://www.gamemummy.com</a> loads just find<br />
The SWF from <a href="http://www.microsheep.com" rel="nofollow">http://www.microsheep.com</a> does not load</p>
<p>Permission problems?<br />
Any ideas?</p>
<p>P.S<br />
Trying to reach this swf from the browser works just fine:<br />
<a href="http://www.microsheep.com/facebook_test/facebook_demo.swf" rel="nofollow">http://www.microsheep.com/facebook_test/facebook_demo.swf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gujarathi</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-554126</link>
		<dc:creator>gujarathi</dc:creator>
		<pubDate>Wed, 10 Mar 2010 04:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-554126</guid>
		<description>Hi,
    I am facing a problem in following code. I want my application and login screen should open in same browser window. Using this code It always opens in new window. Will anybody please tell me how to achieve it?
Again the code in if/else block in the function Init() never gets executed. It directly goes to session.login() and opens new window.

Please help me.

public function Init():void
{
    session = new FacebookSessionUtil(&quot;MY_API_KEY&quot;,&quot;MY_SECRET_KEY&quot;,loaderInfo);
    session.addEventListener(FacebookEvent.CONNECT, handle_Connect);
    fbook=session.facebook;
    trace(&quot;initial login&quot;);
    if(loaderInfo.parameters.fb_sig_added == true)
    {
        session.verifySession();
    } 
    else if(loaderInfo.parameters.fb_sig_added == false)
    {
        navigateToURL(new URLRequest(&quot;http://www.facebook.com/login.php?api_key=&quot; +loaderInfo.parameters.fb_sig_api_key), &quot;_top&quot;);
    }
    else{  
          session.login();
          onConfirmLogin();
        } 
}

public function handle_Connect(event:FacebookEvent):void
{
    trace(&quot;handle_Connect&quot;);
        var call1:FacebookCall = fbook.post(new GetInfo([fbook.uid],[GetInfoFieldValues.ALL_VALUES]));
        call1.addEventListener(FacebookEvent.COMPLETE,handle_getinfoComplete);
}
public function onConfirmLogin():void
{
    trace(&quot;onConfirmLogin&quot;);
    session.validateLogin();
}
public function handle_getinfoComplete(event:FacebookEvent):void
{
    trace(&quot;handle_getinfoComplete&quot;);
    user=(event.data as GetInfoData).userCollection.getItemAt(0) as FacebookUser;
    if( user == null )
    {
        trace(&quot;handle_getinfoComplete,onConfirmLogin&quot;);
        onConfirmLogin();
    }
    else
    {
        trace(&quot;hi&quot;,user.first_name+&quot; &quot;+user.last_name);
        
        StartGame();
    }
    
}</description>
		<content:encoded><![CDATA[<p>Hi,<br />
    I am facing a problem in following code. I want my application and login screen should open in same browser window. Using this code It always opens in new window. Will anybody please tell me how to achieve it?<br />
Again the code in if/else block in the function Init() never gets executed. It directly goes to session.login() and opens new window.</p>
<p>Please help me.</p>
<p>public function Init():void<br />
{<br />
    session = new FacebookSessionUtil(&#8220;MY_API_KEY&#8221;,&#8221;MY_SECRET_KEY&#8221;,loaderInfo);<br />
    session.addEventListener(FacebookEvent.CONNECT, handle_Connect);<br />
    fbook=session.facebook;<br />
    trace(&#8220;initial login&#8221;);<br />
    if(loaderInfo.parameters.fb_sig_added == true)<br />
    {<br />
        session.verifySession();<br />
    }<br />
    else if(loaderInfo.parameters.fb_sig_added == false)<br />
    {<br />
        navigateToURL(new URLRequest(&#8220;http://www.facebook.com/login.php?api_key=&#8221; +loaderInfo.parameters.fb_sig_api_key), &#8220;_top&#8221;);<br />
    }<br />
    else{<br />
          session.login();<br />
          onConfirmLogin();<br />
        }<br />
}</p>
<p>public function handle_Connect(event:FacebookEvent):void<br />
{<br />
    trace(&#8220;handle_Connect&#8221;);<br />
        var call1:FacebookCall = fbook.post(new GetInfo([fbook.uid],[GetInfoFieldValues.ALL_VALUES]));<br />
        call1.addEventListener(FacebookEvent.COMPLETE,handle_getinfoComplete);<br />
}<br />
public function onConfirmLogin():void<br />
{<br />
    trace(&#8220;onConfirmLogin&#8221;);<br />
    session.validateLogin();<br />
}<br />
public function handle_getinfoComplete(event:FacebookEvent):void<br />
{<br />
    trace(&#8220;handle_getinfoComplete&#8221;);<br />
    user=(event.data as GetInfoData).userCollection.getItemAt(0) as FacebookUser;<br />
    if( user == null )<br />
    {<br />
        trace(&#8220;handle_getinfoComplete,onConfirmLogin&#8221;);<br />
        onConfirmLogin();<br />
    }<br />
    else<br />
    {<br />
        trace(&#8220;hi&#8221;,user.first_name+&#8221; &#8220;+user.last_name);</p>
<p>        StartGame();<br />
    }</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kanyal</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-539984</link>
		<dc:creator>kanyal</dc:creator>
		<pubDate>Sun, 24 Jan 2010 10:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-539984</guid>
		<description>Hi 
  there is new tab or window open problem with this api app, how you solved it. can we test this app on desktop pc and when finished can be hosted on web. i am not talking for desktop app. i am asking about facebook web app. hope you will get idea what i want to clear
  Thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
  there is new tab or window open problem with this api app, how you solved it. can we test this app on desktop pc and when finished can be hosted on web. i am not talking for desktop app. i am asking about facebook web app. hope you will get idea what i want to clear<br />
  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MoMo-Studio Development Blog &#187; Blog Archive &#187; Zetta Monster Plus&#8230;.Facebook?</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-539364</link>
		<dc:creator>MoMo-Studio Development Blog &#187; Blog Archive &#187; Zetta Monster Plus&#8230;.Facebook?</dc:creator>
		<pubDate>Fri, 22 Jan 2010 07:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-539364</guid>
		<description>[...] http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-a... [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-a.." rel="nofollow">http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-a..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fahim Akhter</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-531861</link>
		<dc:creator>Fahim Akhter</dc:creator>
		<pubDate>Sat, 19 Dec 2009 11:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-531861</guid>
		<description>Finally, a decent tutorial the flash IDE. Thanks a lot for that. 

I have pretty much the same questions as everyone else.

- First, how to authorize from within facebook. 
- Second, What about the publish this post popup , I don&#039;t want to send messages to my users without asking them :)

Would really appreciate the help</description>
		<content:encoded><![CDATA[<p>Finally, a decent tutorial the flash IDE. Thanks a lot for that. </p>
<p>I have pretty much the same questions as everyone else.</p>
<p>- First, how to authorize from within facebook.<br />
- Second, What about the publish this post popup , I don&#8217;t want to send messages to my users without asking them :)</p>
<p>Would really appreciate the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markham Butler</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-531271</link>
		<dc:creator>Markham Butler</dc:creator>
		<pubDate>Wed, 16 Dec 2009 15:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-531271</guid>
		<description>This is great stuff. In your tut, you say, &quot;You can ask for permission inside the Flash movie itself but I found it easier to ask directly from Php.&quot; Can you point me to info on how to ask permissions from within Flash?</description>
		<content:encoded><![CDATA[<p>This is great stuff. In your tut, you say, &#8220;You can ask for permission inside the Flash movie itself but I found it easier to ask directly from Php.&#8221; Can you point me to info on how to ask permissions from within Flash?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn Keim</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-530881</link>
		<dc:creator>Shawn Keim</dc:creator>
		<pubDate>Mon, 14 Dec 2009 21:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-530881</guid>
		<description>Your tutorial is great,  but your sample has the same problem I do with the posting of an item.  It requires the user to approve all publications... most facebook users don&#039;t want to do that.   Do you know how to make it display the Feed Form for approval on Each post?  

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Your tutorial is great,  but your sample has the same problem I do with the posting of an item.  It requires the user to approve all publications&#8230; most facebook users don&#8217;t want to do that.   Do you know how to make it display the Feed Form for approval on Each post?  </p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-530812</link>
		<dc:creator>Manish</dc:creator>
		<pubDate>Mon, 14 Dec 2009 11:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-530812</guid>
		<description>Hi nice tutorial,

i am trying to use share element to share swf from Publish data.
can you help me to that.

thanks</description>
		<content:encoded><![CDATA[<p>Hi nice tutorial,</p>
<p>i am trying to use share element to share swf from Publish data.<br />
can you help me to that.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robi2216</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-525985</link>
		<dc:creator>robi2216</dc:creator>
		<pubDate>Tue, 24 Nov 2009 17:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-525985</guid>
		<description>Hi your tutorial is great!!!!

I used the SendMail but I don´t worked, please if you could help me in this case


case &quot;Send EMail&quot; :
    fbcall = new SendEmail([uid], &#039;Hi&#039;, &#039;Facebook is excelent&#039;, &#039;&lt;b&gt;&lt;i&gt;Hi&lt;/i&gt;&lt;/b&gt;&#039;);
    fbook.post(fbcall);

thanks</description>
		<content:encoded><![CDATA[<p>Hi your tutorial is great!!!!</p>
<p>I used the SendMail but I don´t worked, please if you could help me in this case</p>
<p>case &#8220;Send EMail&#8221; :<br />
    fbcall = new SendEmail([uid], &#8216;Hi&#8217;, &#8216;Facebook is excelent&#8217;, &#8216;<b><i>Hi</i></b>&#8216;);<br />
    fbook.post(fbcall);</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muse</title>
		<link>http://www.emanueleferonato.com/2009/11/04/creating-a-flash-facebook-application-with-the-facebook-actionscript-api/comment-page-1/#comment-525882</link>
		<dc:creator>Muse</dc:creator>
		<pubDate>Tue, 24 Nov 2009 12:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1851#comment-525882</guid>
		<description>Hi all! I&#039;m kind ned help here..I was planning to do a facebook application using flash as my Final Year Project..need help for ideas. I&#039;m looking for small scale,complete and interactive application. Last but not least, is it a &#039;must&#039; to use CSS and php? I&#039;m just beginner in flash and zero knowledge in php and css but I really2 wanted to learn in this field...hope u guys can help me here..</description>
		<content:encoded><![CDATA[<p>Hi all! I&#8217;m kind ned help here..I was planning to do a facebook application using flash as my Final Year Project..need help for ideas. I&#8217;m looking for small scale,complete and interactive application. Last but not least, is it a &#8216;must&#8217; to use CSS and php? I&#8217;m just beginner in flash and zero knowledge in php and css but I really2 wanted to learn in this field&#8230;hope u guys can help me here..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
