[英]flash builder (flex 4): how can i add facebook-actionscript-api to my project
I'd like to write a program using the facebook-actionscript-api. 我想使用facebook-actionscript-api编写程序。
The google code's website of facebook api shows that it provides .swc files for flex 3.4 or the sources. google code的facebook api网站显示,它为flex 3.4或源提供了.swc文件。
how can I add them to my Flash Builder project ? 如何将它们添加到Flash Builder项目中? Do I need to compile the sources ?
我需要编译源代码吗?
How can I use the swc file in my project ? 如何在项目中使用swc文件?
any information regarding this subject would be greatly appreciated. 有关此主题的任何信息将不胜感激。
thanks!!! 谢谢!!!
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. 如果我没记错的话,默认情况下,新的Flex项目包含一个libs文件夹,这是在项目中管理SWC的首选方式。 Simply drop the Facebook SWC within the libs folder and it will be compiled with your project.
只需将Facebook SWC放到libs文件夹中,它将与您的项目一起编译。
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. 通过右键单击Flash Builder中的项目文件夹,然后从左侧选择“属性”,“ Flex构建路径”,最后选择“库路径”选项卡,可以管理Flex项目编译的库。 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.
libs文件夹应该已经是此列表中的一项,但如果不是,则可以添加它,也可以仅添加单个SWC文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.