Building Framework Independent Code Libraries

I’ve recently encountered a couple of libraries that despite being 99% pure AS3 had minor dependencies on the Flex framework that prevented their use in Actionscript projects or in Flash without modification. This limits the immediate usefulness of the libraries, and fragments the community’s access to them. Here are some tips to help you build framework independent libraries…

PerformanceTest v2 Beta: Benchmark AS3 / Graphics

PerformanceTest v2 lets you benchmark execution time and memory usage in your AS3 code. It can be used with a single line of code, or you can develop robust test suites and integrate them with unit tests. Trace text outputs, or log robust XML reports to track and analyze the performance characteristics of your projects.

ASDocr: Simple ASDoc UI, AS3 Documentation Tool

I’m a big fan of ASDoc! It allows you to write simple comments in your AS3 classes, then generate HTML documentation from them. This is great in that it allows developers to maintain source code and documentation simultaneously, and it reduces the overall burden in writing documentation by reading the core API information from the code directly. Unfortunately, the ASDoc tool is command line based, and can be a bit of a pain to work with. That’s where ASDocr comes in…

AS3 ProximityManager V2

I thought it would be good to release a more optimized version of my AS3 ProximityManager library that was designed for real use and included some new features. Here’s quick demo of it in action, showing 5000 items being updated… You can grab the code, docs, and demo here.