Macromedia flex 2-migrating applications to flex 2 Manual De Usuario

Descargar
Página de 184
18
Getting Started
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 
useProxy=false
 in the MXML tag (the default). 
For more information on using data services, see 
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 
.
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 
override
. For more 
information, see