Essential ActionScript 2.0

Front Cover
"O'Reilly Media, Inc.", Jun 16, 2004 - Computers - 502 pages

In September 2003, Macromedia released Flash MX 2004, and with it, ActionScript 2.0, a dramatically improved version of Flash's programming language. ActionScript 2.0 introduces a formal object-oriented programming syntax and methodology for creating Flash applications. From a developer's perspective, the new OOP-based techniques in ActionScript 2.0 make applications more natural to plan and conceptualize, more stable, more reusable across projects, easier to maintain, change, and expand upon, and much more. In short, they enhance the entire development process.

In Essential ActionScript 2.0, bestselling author Colin Moock--one of the most universally respected developers in the Flash community--covers everything you'll need to know about the new ActionScript language and its methodologies for producing movies, animation, and applications on the web. Moock guides readers through this important new territory with his trademark easy-to-understand style and expertise. Moock's goal throughout the book is not just to get you to use object-oriented programming in your daily Flash work: he wants you to reap the benefits of OOP; he wants you to understand ActionScript 2.0 completely. And without question, Moock is the author who can make this happen.

Essential ActionScript 2.0 begins with a tour of the language, including the fundamentals of object-oriented concepts, syntax, and usage. Those who are new to OOP will learn the basics and how to apply their understanding. Those who are familiar with OOP will leverage their prior experience to learn about Flash-based OOP. The next part of the book shows how to structure entire applications with ActionScript 2.0, teaching you best practices and techniques to build scalable, extensible, stable apps. Next, you'll explore a variety of approaches to various programming situations by applying object-oriented programming strategies, known as design patterns, to Flash.

Experienced Flash developers and programmers coming from other languages will enjoy the sheer depth of Moocks's coverage and expertise in Essential ActionScript 2.0. Novice programmers will appreciate the frequent, low-jargon explanations that are often glossed over by advanced programming books. As usual, Moock guarantees quality and accuracy by working closely with Macromedia Flash engineers, including Rebecca Sun, lead developer of ActionScript 2.0.
Whether you're ready to make the move to ActionScript 2.0 now or simply assessing it for the future, you'll find everything you need to know within this book. Essential ActionScript 2.0 is the one book every ActionScript coder must own.

 

Contents

Part I
ActionScript 20 Overview
ObjectOriented ActionScript
Datatypes and Type Checking
Classes
Authoring an ActionScript 20 Class
Inheritance
Authoring an ActionScript 20 Subclass
MovieClip Subclasses
Distributing Class Libraries
Part III
Introduction to Design Patterns
The Observer Design Pattern
The Singleton Design Pattern
The ModelViewController Design Pattern
The Delegation Event Model

Interfaces
Packages
Exceptions
Part II
An OOP Application Framework
Using Components with ActionScript 20
Part IV
ActionScript 20 Language Quick Reference
Differences from ECMAScript Edition 4
Index
Copyright

Other editions - View all

Common terms and phrases

About the author (2004)

Colin Moock is an independent web guru with a passion for networked creativity and expression. He is author of the world-renowned guide to Flash programming, ActionScript for Flash MX: The Definitive Guide (O Reilly & Associates, 2003). A web professional since 1995, Moock runs one of the Web s most venerable Flash developer sites, http://www.moock.org. He spends most of his time pursuing his cardinal interest, multiuser application development, and working on Unity ( http://www.moock.org/unity ), moock.org s complete commercial framework for creating and deploying multiuser applications for Macromedia Flash.