Start reading ActionScript 3.0 Design Patterns: Object Oriented Program... on the free Kindle Reading App or on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.
Programming Books C Java PHP Python Learn more Browse Programming Books

Deliver to your Kindle or other device

Enter a promotion code
or gift card

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library) [Kindle Edition]

William Sanders , Chandima Cumaranatunge
3.9 out of 5 stars  See all reviews (18 customer reviews)

Digital List Price: $35.99 What's this?
Print List Price: $44.99
Kindle Price: $19.79
You Save: $25.20 (56%)

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your email address or mobile phone number.


Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $42.72  

Book Description

Now that ActionScript is reengineered from top to bottom as a true object-oriented programming (OOP) language, reusable design patterns are an ideal way to solve common problems in Flash and Flex applications. If you're an experienced Flash or Flex developer ready to tackle sophisticated programming techniques with ActionScript 3.0, this hands-on introduction to design patterns is the book you need.

ActionScript 3.0 Design Patterns takes you step by step through the process, first by explaining how design patterns provide a clear road map for structuring code that actually makes OOP languages easier to learn and use. You then learn about various types of design patterns and construct small abstract examples before trying your hand at building full-fledged working applications outlined in the book. Topics in ActionScript 3.0 Design Patterns include:

  • Key features of ActionScript 3.0 and why it became an OOP language
  • OOP characteristics, such as classes, abstraction, inheritance, and polymorphism
  • The benefits of using design patterns
  • Creational patterns, including Factory and Singleton patterns
  • Structural patterns, including Decorator, Adapter, and Composite patterns
  • Behavioral patterns, including Command, Observer, Strategy, and State patterns
  • Multiple design patterns, including Model-View-Controller and Symmetric Proxy designs
During the course of the book, you'll work with examples of increasing complexity, such as an e-business application with service options that users can select, an interface for selecting a class of products and individual products in each class, an action game application, a video record and playback application, and many more. Whether you're coming to Flash and Flex from Java or C++, or have experience with ActionScript 2.0, ActionScript 3.0 Design Patterns will have you constructing truly elegant solutions for your Flash and Flex applications in no time.

Editorial Reviews

About the Author

Dr. William Sanders is a Professor of Interactive Information Technology at the University of Hartford. He teaches courses in Flash, ActionScript, Flash Media Server, PHP, C#, SQL, and XHTML among other Internet languages. He has published 44 computer and computer-related books, written software ranging from Basic to Flash Media Server ActionScript and served as a consultant for different computer software companies.

Dr. Chadima Cumaranatunge is an Assistant Professor of Interactive Information Technology at the University of Hartford. He teaches an introduction to the IIT major, covering Flash and some ActionScript, a gaming course using Flash and ActionScript as well as educational technology courses in the Education, Nursing, and Health Professions College. Recently he received a grant to teach an experimental course in robotics.

Product Details

  • File Size: 2193 KB
  • Print Length: 530 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: Adobe Developer Library; 1 edition (December 17, 2008)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0026OR2LI
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #1,140,714 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

Customer Reviews

Most Helpful Customer Reviews
104 of 131 people found the following review helpful
1.0 out of 5 stars Worse than uninformative, it's actually mis-leading August 27, 2007
My biggest complaint with this book is that the authors basically just took the design patterns found in Java and C++ and re-implemented them to run under ActionScript 3 (AS3). The list is comprehensive, but it's clear that the authors don't "think in AS3".

In several core ways, AS3 is very different than Java and even more so with respect to C++. For instance, the event model is baked into the language and asynchronous programming is a different style. Also, XML and XPath are native constructs in ActionScript 3, not libraries like they are in other languages. These differences (among others) imply that some of the original Gang of Four (GoF) and Java patterns manifest themselves differently and some patterns don't apply at all. There are a few places in the book where the authors use the built-in events infrastructure and few other native features, but it's clear that they don't think in AS3. It seems like they think in Java.

For instance, the observer pattern is one of the core GoF and HeadFirst patterns. However, the native event capability in AS3 serves the same purpose. Rather than show you how/why to use the native event capability, this book happily shows you an AS3 translation of the GoF/HeadFirst observer pattern and never tells you to use the built-in event capability instead. In contrast, the Joey Lott and Danny Patterson book from Adobe Press, does not have a section on the observer pattern, but there is a chapter on "WORKING WITH EVENTS".

The above problem would be enough for me to recommend that you not buy this book but it gets worse. This book is not even great at teaching you how to think in design patterns. To be fair, neither is the original GoF design patterns book nor is the Lott/Patterson book.
Read more ›
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars Great detailed book February 18, 2008
Format:Paperback|Verified Purchase
I bought this book when I wanted to pick up on Design Patterns in AS3 (I had little to no experience with DP in AS2), and after I read "Essential ActionScript 3.0". I bought it without reading any reviews because I like O'reilly books, but after I placed the order, I looked at the reviews, and noticed that people were favoring "Advanced ActionScript 3 with Design Patterns" (by Joey Lott and Danny Patterson) -- so I went to the closest B&N and picked it up a day before the O'reilly one arrived, so I was able to compare. I must say that I liked the O'reilly book by FAR over the other one, mostly because of the detailed and extensive examples, descriptive copy and easy-to-follow real-life samples (even though the author referred to Gnarls Barkley as a person at one point.. haha).

So - for someone like me, who knew AS3 (the books assumes you do), but wanted to get into OOP with Design Patters, this was an excellent choice. I would highly recommend it.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
I've been reading through O'Reilly's "ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques" by William Sanders and Chandima Cumaranatunge for the last few weeks and have to say its an incredibly useful resource.

The interesting thing is that this book approaches design patterns in the more traditional sense, not dumbing down on the object-oriented terminology. In that sense it is very approachable to those coming from a Java or C background and are looking for ActionScript 3.0 implementations of specific patterns.

Full review at: [...]
Was this review helpful to you?
12 of 16 people found the following review helpful
This book tackles the rather advanced topic of writing reusable OOP code for ActionScript 3.0 targeting intermediate ActionScript developers. The book organizes its topics in a way similar to the book "Design Patterns Elements of Reusable Object-Oriented Software" by Erich Gamma et al - also known as the Gang of Four. In spite of its target audience, the first part of the book contains an introduction to both design patterns and object orientation to assist those readers with minimal object-oriented programming experience. More advanced users may want to skip the review of OOP, but go over the materials on design patterns. Parts II, III and IV are the three major parts of the book. They examine fundamental design patterns, and organize the patterns into creational, structural and behavioral categories. Representative design patterns are included in each part, but every single design pattern from the book by Gamma and his associates is not included since these other patterns are not very relevant to ActionScript, plus Gamma's book is considered the definitive reference on the subject.

Each chapter on design patterns is organized in a similar matter both to clarify understanding the purpose of a design pattern and how to use it and to make the book more uniform and therefore well-suited as a reference. The following is the basic outline of each of the chapters on design patterns:

1. What is the pattern?
2. Key features of the pattern
3. The formal model of the pattern including a class diagram
4. Key OOP concepts found in the pattern
5. Minimalist abstract example
6. Applied examples

You will need either Flash CS3 or Flex 2 to work with the program examples in this book.
Read more ›
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Five Stars
Exactly what I wanted.
Published 3 months ago by Gene Mitchell
2.0 out of 5 stars Not for beginners in design patterns
Disclaimer: I haven't finished the book and most certainly won't finish it. This is purely my personal experience with it. Read more
Published on March 8, 2013 by Pier
5.0 out of 5 stars Very good book
This book has all the design paters that you will need for OO programing. I got this book to help me with my OO ActionScript
programing but I think that the examples here and... Read more
Published on February 15, 2013 by Igor
1.0 out of 5 stars Poorly written
This book is very poorly written, rather than use straight forward and logical explanations, the author appears as though he was trying to be clever and impressive in his... Read more
Published on April 23, 2012 by Ski Bum
4.0 out of 5 stars Good Patterns Bad Examples
This a good book that it pays off, with a good context and techniques for developing a enterprise application. Read more
Published on April 8, 2011 by Marcos
5.0 out of 5 stars every thing is there
This book has all the necessary information about design patters for Action Script, I'm Computer Sciences Engineer with more that 5 years developing with Flash, believe me i know... Read more
Published on February 1, 2011 by Marlon Ulate Caruzo
5.0 out of 5 stars Best book ever
This book was awesome for my knowledge, perfect. Also the amazon guys did a great work, sending it very fast.

Thanks guys
Published on October 22, 2010 by Marcelo Santos
5.0 out of 5 stars Good examples
This book provides a lot of example of design patterns in AS3. If you've never read a book about design patterns then you will benefit greatly. Read more
Published on February 13, 2009 by bruinjoe
3.0 out of 5 stars Who edited this book?
The concepts in this book are great for any Actionscript developer and they thoroughly explain solutions via design patterns. Read more
Published on June 6, 2008 by T. Kocheran
2.0 out of 5 stars Workarounds for where ActionScript can't be Java
ActionScript 3.0 has more in common with Java than any previous ECMAScript, so it lends itself to a reimplementation of the classic Design Patterns originally espoused by the "Gang... Read more
Published on February 4, 2008 by Michael A. Smith
Search Customer Reviews
Search these reviews only

More About the Authors

Discover books, learn about writers, read author blogs, and more.


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category