Upgrading version 1 components to version 2 architecture
The version 2 components were written to comply with several web standards (regarding events
[www.w3.org/TR/DOM-Level-3-Events/events.html], styles, getter/setter policies, and so on)
and are very different from their version 1 counterparts that were released with Macromedia Flash
MX and in the DRKs that were released before Macromedia Flash MX 2004. Version 2
components have different APIs and were written in ActionScript 2.0. Therefore, using version 1
and version 2 components together in an application can cause unpredictable behavior. For
information about upgrading version 1 components to use version 2 event handling, styles, and
getter/setter access to the properties instead of methods, see
Chapter 7, "Creating Components,"
on page
915.
Flash applications that contain version 1 components work properly in Flash Player 6 and Flash
Player 7, when published for Flash Player 6 or Flash Player 6 (6.0.65.0). If you want to update
your applications to work when published for Flash Player 7, you must convert your code to use
strict data typing. For more information, see Chapter 10, "Creating Custom Classes with
ActionScript 2.0," in Using ActionScript in Flash.
Upgrading version 1 components to version 2 architecture
53
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?