MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual do Utilizador Página 18

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 184
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 17
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 applications
domain. In addition, you must set
useProxy=false in the MXML tag (the default).
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 subclasss method must now be prefixed by
override. For more
information, see “Overriding a method” on page 163.
Vista de página 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 183 184

Comentários a estes Manuais

Sem comentários