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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 184
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 164
165
12
CHAPTER 12
Additional Migration Issues
This topic describes miscellaneous migration issues, including charting and Runtime Shared
Libraries (RSLs).
Contents
HistoryManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Charting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Cell renderers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Validators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Embedding resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
HistoryManager
To migrate applications from Flex 1.5 to Flex 2, your application must implement the
mx.core.IHistoryState interface; for example:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
implements="mx.core.IHistoryState">
Also, you must declare the saveState() and loadState() methods as public. Otherwise,
they are not visible to the HistoryManager.
Charting
Flex Charting have undergone major changes for Flex 2. This section describes some
migration issues for charts for Flex 2.
Charting classes rely heavily on DataProviders and Arrays. Changes to these classes are
described throughout this document.
The
name property on chart series and chart axes is now displayName.
Vista de página 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 183 184

Comentários a estes Manuais

Sem comentários