Essential Actionscript 2.0 - by colin moock collected by Jimbob


MY RESOURCES | Chapter2 | Chapter6 | Chapter12 | example files

Example files in Essential Actionscript 2.0

Colin Moock


Note: The following chapter is a preview excerpt from O'Reilly's Essential ActionScript 2.0 by Colin Moock. You can purchase the book on the O'Reilly website.

Ironically, Flash users who are new to object-oriented programming (OOP) are often familiar with many object-oriented concepts without knowing their formal names. This chapter demystifies some of the terminology and brings newer programmers up to speed on key OOP concepts. It also serves as a high-level overview of OOP in Flash for experienced programmers who are making their first foray into Flash development.

Requirements

While Flash MX Professional 2004 is not required for this article, it is recommended:

essential actionscript 2.0, example files


Following are the major examples in the book Essential ActionScript 2.0, by Colin Moock. In addition to these larger examples, there are, of course, hundreds of shorter examples in the book that are not offered here for download. Shorter examples should, for the sake of practice and study, be recreated manually by the reader.

>> Download all example files (1.3mb zip file)
>> Learn more about the book
Chapter 5, Authoring an ActionScript 2.0 Class
> ImageViewer Take 1
> ImageViewer Take 2
> ImageViewer Take 3

Chapter 7, Authoring an ActionScript 2.0 Subclass
> ImageViewerDeluxe

Chapter 8, Interfaces
> Serializer

Chapter 11, An OOP Application Framework
> Application Template

Chapter 12, Using Components with ActionScript 2.0
> Currency Converter Application

Chapter 13, MovieClip Subclasses
> Avatar Example
> Avatar Example, Composition Version

Chapter 14, Distributing Class Libraries
> Spider Services, Example Class Library

Chapter 16, The Observer Design Pattern
> An Application Logger
> Logger, Composition Version

Chapter 17, The Singleton Design Pattern
> Example Singleton Class

Chapter 18, The Model-View-Controller Design Pattern
> MVC Clock

Chapter 19, The Delegation Event Model
> Event Broadcast Example: Random Shooting Stars

About the author

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

 


Chapter2 | Chapter6 | Chapter12 | example files
collected by Jimbob 2006.03