Chapter 1: Getting Started; Introduction - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

CHAPTER 1
1
Getting Started
This topic describes the first steps of migrating a Macromedia Flex 1.x application to Adobe
Flex 2. This topic describes steps that are meant to be accomplished quickly and resolve most
of the warnings and errors that you encounter. When you complete the steps in this topic, you
should read other topics in this manual for more information about specific migration
operations.
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Step 1: Find and replace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Step 2: Add access modifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Step 3: Add types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Step 4: Update events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Step 5: Import classes for package-level functions . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Step 6: Put all ActionScript components in packages. . . . . . . . . . . . . . . . . . . . . . . . . .17
Step 7: Update data services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Step 8: Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Step 9: Overrides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Step 10: Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Step 11: API updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Introduction

You should undertake the migration process in a series of steps. The earlier steps involve
simple tasks, such as finding and replacing, or adding access modifiers. This topic describes
these steps. The later steps are more involved and require you to read other topics in this
manual. For example, when you convert portions of an application that uses binding, you
should read
Chapter 5, "Binding," on page
105.
9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex 2

Table of Contents