Two chapters from the ActionScript 3.0 Design Patterns book are available as a free download from devnet. Each chapter contains multiple examples. The factory method pattern chapter includes a print shop application, a sprite factory, and a shooter game that uses the factory method pattern to create different types of projectiles. The MVC chapter includes a weather map application and a car chase app.

The MVC and Factory Method Pattern Chapters on Adobe DEVNET by Chandima Cumaranatunge, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

Bill Sanders
Hi Guys,
I´m sure you already noticed, but I´d just like to remember you…
The example code “Example 12-9. RootNodeView.as” has missing part on the declaration of the constructor. In the book and also in the PDF found on Adobe DEVNET
”
public function RootNodeView (aModel:IModel,
{
super(aModel, aController);
// register to receive key press notifications form the stage
target.addEventListener(KeyboardEvent.KEY_DOWN,
}
”
it´s definitely not difficult to complete the code on the own. But I imagined you would like to have the feedback.
Greetings
Hi Gustavo, Thanks for informing us about the omission in the code. We will make the necessary changes.