MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Bedienungsanleitung Seite 110

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 184
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 183 184

Kommentare zu diesen Handbüchern

Keine Kommentare