Tuesday, 25 September 2007

Introduction to LBi Useful

We have started off with three projects hosted on Google Code. I will introduce the AS2 libraries here and let Marcus and Christian introduce their projects when they get a moment.

ActionScript 2 Libraries


The ActionScript 2 libraries are modified from libraries that we originally started developing about two years ago when we started working entirely outside the Flash IDE and using Eclipse and FDT with SWFMill and MTASC instead. This was a drastic improvement to our Flash development workflow and is essential for working in teams, as well as providing a solid backbone on which to apply best practices and design patterns from Java and Ruby. Internally we have been using the legacy versions of these libraries (in a com.framfab package rather than the neater and happier com.lbi package :)) but I have refactored out the best bits into the libraries you will find here. I have put as much as possible under test (you can run the unit tests by entering 'rake test' from the project folder - you'll need ruby and rake installed first).

Please note that there may be some bugs in the newly refactored code that will be ironed out over the next few weeks as we officially move over internally to the new codebase.

There are a few basic usage examples for the animation package, and I will publish an introduction to setting up a good environment for those who don't have experience working with MTASC and third-party libraries. In the meantime, here are some useful places to go to get started and get advice:
  • osflash.org/ - hub of the open source Flash community
  • www.asserttrue.com - Luke Bayes' blog (co-developer of the asunit library and Sprouts)
  • There are plenty of other people I should mention, but I am short of time when it comes to hunting down links...

No comments: