User Guide

208 Data binding classes (Flash Professional only)
Classes in the mx.data.binding package
(Flash Professional only)
The following table lists the classes in the mx.data.binding package:
Binding class (Flash Professional only)
ActionScript Class Name mx.data.binding.Binding
The Binding class defines an association between two endpoints, a source and a destination.
It listens for changes to the source endpoint and copies the changed data to the destination
endpoint each time the source changes.
You can write custom bindings by using the Binding class (and supporting classes), or use the
Bindings tab in the Component inspector.
For an overview of the classes in the mx.data.binding package, see “Classes in the
mx.data.binding package (Flash Professional only)” on page 208.
Class Description
Binding class (Flash
Professional only)
Creates a binding between two endpoints.
ComponentMixins class (Flash
Professional only)
Adds data binding functionality to components.
CustomFormatter class (Flash
Professional only)
The base class for creating custom formatter classes.
CustomValidator class (Flash
Professional only)
The base class for creating custom validator classes.
DataType class (Flash
Professional only)
Provides read and write access to data fields of a
component property.
EndPoint class (Flash
Professional only)
Defines the source or destination of a binding.
TypedValue class (Flash
Professional only)
Contains a data value and information about the value’s data
type.
NOTE
To make this class available at runtime, you must include the data binding classes in your
FLA file. For more information, see “Making data binding classes available at runtime
(Flash Professional only)” on page 207.