这两个 bit.ly API ActionScript 实现之间的区别?
我是 Flex 新手,想知道 bit.ly API 的这两个 ActionScript 实现之间有什么区别:
http: //github.com/julien/as3_bitly
http://code. google.com/p/bitly-as3-api/
我注意到的一件事是,一个是 .as 文件,另一个是 .swc 文件。对于学习 Flex 来说,一个比另一个更好吗?
谢谢。
I'm new to Flex and wondering what the difference is between these two ActionScript implementations of the bit.ly API:
http://github.com/julien/as3_bitly
http://code.google.com/p/bitly-as3-api/
One thing I noticed is that one comes in .as files and the other's an .swc file. Is one better than the other for learning Flex?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SWC 是函数的预编译声明,除非由于编译原因绝对必要,否则我从来不太喜欢它。
但是,后一个链接更完整,您可以获取用于制作该 SWC 的源文件 此处。第一个链接似乎只是一个非常基本的演示,用于创建 bit.ly 缩短的 URL,该 URL 提交一次后就再也没有触及过,而第二个链接看起来几乎完全实现了 API 的 AS3 窗口。
A SWC is a precompiled declaration of functions and unless absolutely necessary for compilation reasons, I've never been much of a fan.
The latter of your links is more complete, however, and you can get the source files that were used to make that SWC here. The first link appears to simply be a very basic demo for the creation of a bit.ly shortened URL that was committed once and never touched again compared to the second that looks to be a nearly fully implemented AS3 window to the API.