Table of Contents

What's New in the Second Edition

The second edition of ActionScript for Flash MX: The Definitive Guide is not merely a "tack-on" update to the first edition (which was titled ActionScript: The Definitive Guide). The entire text has been revised and restructured to highlight the latest Flash MX ActionScript features. Nearly every paragraph has been updated, and 400 pages have been added to cover ActionScript's new capabilities. Legacy descriptions of Flash 4 ActionScript syntax have been moved from the body of the book to Appendix C or online technotes. We made this choice to keep the book streamlined, although it is still considerably beefier than the first edition. By the time you read this, Flash Player 6 will be nearly ubiquitous, so it doesn't make sense to cover Flash 4 in detail anymore. We cover enough of it to help you understand and upgrade any legacy code you may own or encounter. We've also paid close attention to changes between Flash 5 and Flash 6 to help you understand the new paradigms and upgrade legacy code. The legacy code examples from the first edition will all remain available at http://www.moock.org/asdg/codedepot.

Updated Code Examples

All code examples from the first edition have been rewritten to use Flash MX syntax and best practices. For example:

Likewise, dozens of new Flash MX-specific examples have been added. Here are just a few of the interesting ones:

Hundreds of Tweaks

Subtle details have been added throughout this book to augment the first edition's content. Here are just a few of the hundreds of tweaks made:

Of course, there are plenty of not-so-subtle changes too. We'll look at them next.

Major Revisions Since the First Edition

The following list describes the major content and structural changes in this second edition. Note that some of these chapters were in Part II, Applied ActionScript, in the first edition. Other material from the first edition's Part II was redistributed elsewhere in this second edition, and some content was moved to online technotes. Despite the organizational change, rest assured that this second edition includes dozens of applied examples sprinkled liberally throughout the entire book. The ActionScript Language Reference, formerly Part III in the first edition, is now Part II.

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 8

Chapter 9

Chapter 10

Chapter 11

Chapter 12

Chapter 13

Chapter 14 (all new)

Chapter 15 (previously Chapter 14)

Chapter 16

Chapter 17

Redistributed old Chapter 18, On-Screen Text Fields (in first edition only)

Removed old Chapter 19, Debugging (in first edition only)

Part II, Language Reference (formerly Part III)


Table of Contents