Step 7: Update data services
The RemoteObject, HTTPService, and WebService MXML services are now known as RPC
services. The RemoteObject tag is not functional unless you use Adobe Flex Data Services.
You must replace use of this with another tag.
You can still use the HTTPService and WebService tags, but you can only access resources on
a server that is in the same domain as the Flex application or from a server that has a
crossdomain.xml file installed on it. This file must allow access to the requesting application's
domain. In addition, you must set
in the MXML tag (the default).
useProxy=false
For more information on using data services, see
Chapter 9, "Data Services," on page
135.
Step 8: Charts
If you are using Adobe Flex 2 SDK, you must now install a separate SWC file to use charts.
For more information, see the installation instructions in the Adobe Flex Charting'
readme.txt file.
If you are using the Flex Data Services server, charts are included.
The way charts are implemented also changed significantly. For more information, see
"Charting" on page
165.
Step 9: Overrides
Whenever a method on a subclass overrides a similarly named method on a superclass, the
declaration of the subclass's method must now be prefixed by
. For more
override
information, see
"Overriding a method" on page
163.
18
Getting Started
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