
This tutorial will step you through the process of deploying a Flex application in an iFrame on the Facebook website in 15 minutes.
In order to complete this tutorial, you first need to complete the tutorial, Create your first Facebook application with Flex. In that tutorial, you learn to register an application on Facebook and to build a simple Flex application that displays the Facebook user's name. The application you build is an external website application that you can test locally and host on your website.
In this tutorial you learn how to deploy this application on the Facebook website. Facebook applications can either be loaded into an iFrame or use FBML. This tutorial uses an iFrame. To learn more about the differences between iFrame and FBML applications, read the article, Comparing iFrame and FBML Facebook applications.
The process of developing and debugging an external application locally before deploying it to Facebook is typical for creating embedded applications: First, you build and test the application locally using Flex Builder, then, when the application is working, make the changes described in this tutorial so it is also accessible on the Facebook website.
In the process you will:
To complete this tutorial, you need the following software and files:
You should have completed the tutorial, Create your first Facebook application with Flex. You also should have a basic knowledge of Flex Builder, MXML, and ActionScript.
Jeanette Stallons is an independent Flex trainer and consultant who has taught for many companies including Adobe, Oracle, Boeing, Wachovia, Morgan Stanley, and Charles Schwab. Prior to working for herself, Jeanette worked at Allaire, Macromedia, and then Adobe in the training department, architecting, writing, teaching, and building applications for Flash, Flex, and other products. Her latest project is the Adobe Flex Learning Paths Flex application for which she was and continues to remain the idea behind, the programmer, and the content expert.