Unit test is an important stage for an project. For Java projects, we can use the great unit testing framework such as JUnit, for C++ project, the similar tool CPPUnit also be used popularly. For ActionScript developers, are there similar frameworks for us? That’s sure, here is a collect of unit testing frameworks for Flex and Flash applications and libraries. Enjoy!
Archive for the ‘ActionScript’ Category
68 Small but Useful Open Source ActionScript Libraries(misc) help Flex/Flash Developers Improve Work Efficiency
We prepared a list of Misc Class in pervious article 8 Useful Misc ActionScript Class. There are more and more open source projects floating around all over the place, it’s real beauty for all Flex/Flash developers. Here is a new list open source ActionScript 3 MISC libraries – all of them are small but very useful. Please don’t stint your time to try, these libraries can help you to improve your develop efficiency faster.
Please left you comment to help consummate this list if you feel I missed anything.
We introduced three ways to load an image file in Flex in previous article. Normally there are no any problem with loading progress of external files. You can add an event listen(Event.COMPLETE) to monitor if it is complete then do something, but if you also want to do something when any errors were caused on the loading, what should we do? Below is the sample source code on how to track Loader process in AS3:
Google Analytics blog introduced a new ActionScript 3 Client Library, this library provides a simple way to access your Analytics Data from both AIR Applications and Flash Player (though a proxy). The developers an easily integrate Google Analytics into their Flash/AIR projects with this AS3 library.
In previous article: 6 CSV Related Libraries/Functions In Actionscript Save Your Time, we have introduced some CSV libraries in Actionscript. Now we will say something about XML. First, what is XML? XML stands for EXtensible Markup Language. Its a markup language similar to HyperText Markup Language (HTML). XML basically just stores data. Using XML is one of the best ways for structuring external content in a logical format that is easy to understand, process, and update. Then do you know how to use XML in ActionScript? Here we have prepared 12 tutorials about XML in ActionScript. Hope you will enjoy them.
CSV is a common file type used to import data from one software application to another. It is very popular and easily to be used now. Do you still code by yourself to export or import CSV data to actionscript? Then following tools maybe very helpful to you. You can also create all kinds of chart by using of them.
TeraFire is an open source as3 library which can help you to make the candle flame fluttered effect in the breeze. Similar the previous library: How To Calculate The Average Between 2 Colors In ActionScript 3.0, there is only one as3 source file in TeraFire library. You can easily to modify and to adapt to other flame.
In some web apps or flash games, we probably need to calculate the average between 2 colors, for example. feed 0xAA0000 and 0xCC0000, and return 0xBB0000 ? Is there a simple way to calculate between two hex colors?
AverageColor is a open source(Licensed under the MIT License) util-class to calculate the average between 2 colors (Hex, RGB or HSB format).