Question

I'd like to write a program using the facebook-actionscript-api.

The google code's website of facebook api shows that it provides .swc files for flex 3.4 or the sources.

how can I add them to my Flash Builder project ? Do I need to compile the sources ?

How can I use the swc file in my project ?

any information regarding this subject would be greatly appreciated.

thanks!!!

Was it helpful?

Solution

If I remember correctly, a new Flex project contains a libs folder by default, which is the preferred way to manage SWCs within your project. Simply drop the Facebook SWC within the libs folder and it will be compiled with your project.

You can manage what libraries are compiled with your Flex project by right-clicking your project folder in Flash Builder and selecting "Properties", "Flex Build Path" from the left-hand side and finally the "Library path" tab. The libs folder should already be an item on this list, but you can add it if it isn't or just add the individual SWC file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top