简体   繁体   English

Flash Builder(Flex 4):如何将facebook-actionscript-api添加到我的项目中

[英]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.

相关问题 flex 4和facebook-actionscript-api:无法登录 - flex 4 and facebook-actionscript-api : cannot login Flex + Facebook Connect + InternetExplorer(IE)+ facebook-actionscript-api - Flex + Facebook Connect + InternetExplorer(IE) + facebook-actionscript-api Flash Builder:如何将Flex项目框架添加到ActionScript项目中? - Flash Builder: how to get flex project framework into ActionScript project? 如何使用Flash Builder从FLEX Flash项目生成Flash投影仪文件? - How do I generate a flash projector file from my FLEX Flash project using Flash Builder? 如何使用ActionScript在我的Flex应用程序中添加图像? - How can I add an image to my Flex application at with ActionScript? 如何将Flash Builder 4中的项目导出到ant构建? - How can I export my project in Flash Builder 4 to an ant build? Flash IDE Project ActionScript 3转换为Flex:如何转换? - Flash IDE Project ActionScript 3 To Flex: How to convert? Flash Builder(Flex 4):XML填充的数据网格,如何在某些行中添加图像? - Flash Builder (Flex 4): datagrid populated by XML, how can I add an image in some of the rows? 如何从Java调用Flex / Flash / Actionscript方法? - How can I call a Flex/Flash/Actionscript method from Java? 如何在Flash Builder中使用Flex中的ActionScript在矢量图形中分别更改填充和描边 - How do I change the fill and stroke separately in a vector graphic using actionscript in flex in flash builder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM