Binding With Arrays - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

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
and
. These functions dispatched events so that Arrays
addItem()
removeItemAt()
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 Developer's Guide.
110
Binding

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents