Difference between these two bit.ly API ActionScript implementations?
I'm new to Flex and wondering what the difference is between these two ActionScript implementations o开发者_如何学Cf 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.
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.
精彩评论