The As2lib is an open source framework targeted to Macromedia Flash MX 2004+ developers. It offers support for basic idioms like event handling, error handling, logging, overloading and reflections as well as different kinds of data holders and iterators. Also contained is a full-featured testing framework that allows for unit tests, mock objects and speed tests, an input/output (io) framework, an aspect-oriented programming (AOP) framework and a regular expression (RegExp) framework.