Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Data binding classes > Binding class | |||
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.
|
NOTE |
|
The Binding class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
You can write custom bindings by using the Binding class (and supporting classes), or use the Bindings tab in the Component inspector. 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.
For an overview of the classes in the mx.data.binding package, see Classes in the mx.data.binding package.
The following table lists the methods of the Binding class.
|
Method |
Description |
|---|---|
|
Fetches the data from the source component, formats it, and assigns it to the destination component. |
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00002668.html