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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 184
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 109
110 Binding
Binding with Flex component properties
You can no longer use all properties of Flex components as the source of a data binding
expression without extending those controls. Properties of Flex components that can be used
as the source of a data binding expression contain the following description in their entry in
the ActionScript 3.0 Language Reference:
This property can be used as the source for data binding.
Binding with Arrays
In Flex 1.5, the DataProvider class had convenience functions that it inherited from Array
such as
addItem() and removeItemAt(). These functions dispatched events so that Arrays
and Array subclasses could be used as the source of a data binding expression. In Flex 2,
Arrays supports only one-time binding. If you want your DataProviders to support binding,
you must convert them to Collections.
For more information on migrating applications that use the DataProvider class, see
mx.controls.listclasses.DataProvider” on page 70.
For more information on using Collections, see Flex 2 Developers Guide.
Vista de página 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 183 184

Comentários a estes Manuais

Sem comentários