Step 1: Find And Replace - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

The basic steps are the following:
"Step 1: Find and replace" on page 10
"Step 2: Add access modifiers" on page 14
"Step 3: Add types" on page 15
"Step 4: Update events" on page 16
"Step 6: Put all ActionScript components in packages" on page 17
"Step 7: Update data services" on page 18
"Step 8: Charts" on page 18
"Step 9: Overrides" on page 18
"Step 10: Binding" on page 19
"Step 11: API updates" on page 19
The remaining sections of this topic describe these steps in detail.

Step 1: Find and replace

There are many simple operations that you can do to your application to minimize the
number of warnings and errors you get when you first attempt to compile your application. In
many cases, these operations require that you do a find and replace.
You should not have to spend much time performing these tasks because the differences
between the Flex 1.x and Flex 2 syntax is generally minor but necessary. These operations
include the following:
"Application namespace" on page 11
"Void" on page 11
"Newline" on page 11
"Effects/behaviors" on page 14
"Application and container initialization" on page 12
"Alpha and scale properties" on page 12
"Event.currentTarget" on page 12
"Uninitialized values" on page 12
"Replace _root" on page 13
"Application namespace" on page 11
"Effects/behaviors" on page 14
"getURL() method" on page 14
10
Getting Started

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents