Flash AS3 integration in Facebook Apps (Part 1 of 2)
Today’s post is part 1/2 of a short tutorial on how to build Rastafarize!, a Facebook apps with Flash integration -without any AS3 Facebook library).
Part 1 will focus on the Flash side (exporting your flash to jpg).
Part 2 will show you how to build the App using PHP/MySQL/FBML.
This will provide you with a simple but complete Facebook App: Rastafarize!
Rastafarize! allows you to pull your own or friend’s profile picture and ‘rastafarize it’, upload the result as a JPG on the server , save the data on a database and post it to your profile.
So let’s look at the Flash now:
In this Flash module, I decided not to use the Facebook AS3 Library as I believe FlashVars does the job really well in this case. So we could avoid exposing our API and SecretKey inside our swif.
The source can be downloaded here.
Part 2 will be posted later this week after I do some clean up in the PHP code.
Enjoy!


