An example of an AS3 Abstract Factory.