
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
6
|
Chapter 1: ActionScript 2.0 Overview
Flash MX 2004 Version 2 Components
Flash MX introduced components—ready-to-use interface widgets and code modules
that implement commonly needed functionality. Flash’s built-in components make it
relatively easy to create desktop-style Flash applications. Flash MX 2004 introduces
the new v2 components, rewritten from scratch in ActionScript 2.0 and built atop ver-
sion 2 of the Macromedia Component Architecture, which provides a much richer
feature set than its predecessor. The new architecture necessitates new ways of devel-
oping and using components (see Chapter 12 for component usage). Officially, the
v2 components require Flash Player 6.0.79.0 or higher; however, tests show that
many v2 components work in earlier releases of Flash Player 6 (especially Flash
Player 6.0.40.0 and higher). If you want to use a v2 component in a version prior to
Flash Player 6.0.79.0, you should test your application extensively.
A single application produced in either Flash MX 2004 or Flash MX Professional
2004 can include both v2 components and Flash MX’s v1 components, provided the
v1 components have been updated to support ActionScript 2.0 and the movie is
exported in ActionScript 2.0 format.
Don’t confuse v1 and v2 components with the version of ActionScript ...