The guide below is an extension of this tutorial: http://www.permadi.com/blog/2010/12/using-facebook-open-graph-api-in-flash-as3/. The function to get your profile picture is Where uid is the Facebook user id. Once you establish a Facebook connection, your user id is available at Facebook.getSession().uid. So we can call: This will give you the URL which ‘theoretically’ you can ask a Loader […]

Updates Facebook requires the use of OAUTH2.0 nowadays. Some of the changes required are: session is now called authResponse. getSession is replaced with getAuthResponse. perms is now called scope. The zip file (as3-open-graph-example-basic.zip) linked below includes these changes (there are changes in .as, .html files and in the first frame of the example .FLA). Please […]

Flash Gaming Summit returns in February 27 to San Francisco.   If you plan to attend or nominate, you can register on the event site http://www.flashgamingsummit.com/. This yearly summit is organized by MochiMedia.

Using modules enhances scalability (i.e.: your application code does not have to reside in one swf, which quite possibly will grow very large as features are being added).  In this tutorial, we explores how to create and load a Module in a Flex Builder Action Script project. Create an Example Project Create a new Action […]

Using FileReference, you can allow user to upload files from their computer to be used. This can be useful in applications such as photo processing applications, image manipulation applications, etc. For more information, see: http://www.permadi.com/blog/2009/05/actionscript-3-using-file-reference-to-load-local-swf/ Here’s the general outline of the steps required to load a file from user’s computer. Note that these steps require […]

This post continues the topic of reading and parsing RSS2 feeds which were discussed in the previous post and can be found here: http://permadi.com/blog/2010/03/flash-as3-processing-rss-feeds/. Building from the example in that post, we will do the following improvements here: Cycling though posts. Enabling users to read the full post. To begin with, we added two buttons […]

ActionScript

This is a basic example of loading and processing RSS2 Feed in Flash. It assumes familiarity with the Flash authoring environment and basic programming, in particular, XML processing and text field. For an introduction to using XML in Flash, you are encouraged to read this post: http://permadi.com/blog/2010/03/flash-as3-basic-xml-reading-and-parsing-example-part-1/ For our example, let’s use RSS2 standard since […]