Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼

Mike Riley

Dr. Dobb's Bloggers

Learning ActionScript 3.0, Second Edition Book Review

November 10, 2010

With the proliferation of mobile devices capable of running Flash or embedded Flash applications, learning the basics and nuances of ActionScript has become a priority for some developers. How well does Learning ActionScript 3.0 fill this need? Read on to find out.Learning ActionScript 3.0 focuses on the object oriented nature of ActionScript 3.0, available to developers and designers running Flash Professional CS3 through CS5. The authors emphasize the shift from the procedural nature of ActionScript 1.0 and 2.0 to the OOP-enabled 3.0 language. Web developers already familiar with JavaScript syntax and OOP concepts will find Learning ActionScript to be an easy reading experience.

The book dives right into the object oriented nature of ActionScript 3.0 by asking the readers to create a HelloWorld class and instantiate it within a Flash window. This is followed by a basic overview of ActionScript language fundamentals (variables, loops, arrays, functions, properties, methods, events, etc.). After the display and object hierarchies are explained, a chapter is dedicated to the demonstration of ActionScript's all-important Timeline control. The next chapter offers a primer on OOP, mainly intended for graphic designers who have had limited exposure the concepts of classes, inheritance, composition, encapsulation and polymorphism. This chapter should have appeared earlier in the book, given its center-stage importance in ActionScript 3.0.

Chapters 7 through 10 demonstrate aspects of motion (simple physics, collision, geometry/trigonometry and tweening), vectors (9-slice scaling), pixels (bitmap caching, blend/bitmap and color effects) and text (creating, setting, selecting and formatting text fields). Chapters on sound and video review the basics of audio and video capture and playback, and the final section of the book focuses on I/O operations such as loading SWFs, images, and read and writing XML.

The book is part of the Adobe Developer Library, published by O'Reilly, and the attention to detail and beautiful page layout and design is striking. This is matched by the educational quality that author Rich Shupe brings to the package. Having taught Flash since its inception, this book shows that Mr. Shupe also knows how to communicate effectively in print; he will no doubt use this book as a reference text in his future Flash training classes.

Although the book was written primarily by designers for designers, developers can still learn quite a bit from the work. The 4-color high quality paper presentation is excellent and the numerous screen captures, call-out notes and code listings help guide readers toward a higher level of ActionScript and Flash proficiency. Code examples, quizzes, blog posts and demonstrations can be accessed via the book's website, learningactionscript3.com and its partner site, learningflashcs4.com. Learning ActionScript 3.0 is a solid introduction for anyone ready to enthusiastically enter the world of Flash application design and development.

Title: Learning ActionScript 3.0, Second Edition Authors: Rich Shupe with Zevan Rosser Publisher: O'Reilly Media ISBN: 978-1-449-39017-4 Pages: 456 Price: $49.99

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.