Previous Page
Next Page

What is Data Binding?

You may often hear the term data binding associated with discussions of Flash components. Data binding is the process of taking information and adding it to a component, to display the information or to manipulate the data in a meaningful way. Any information that you bind to a component is often called a data provider. Data providers can be very simple, such as a String value (for example, a heading at the top of a movie with the text "Welcome to the Site"), or very complicated, such as a RecordSet object or an Array value (for example, a list of employees in your company, complete with first and last names, identification numbers, photo URLs, and so on). In Flash movies, you can take a data provider and bind it to a component in one of four ways:

In this chapter, you learn how to use visual data binding and custom data provider code to bind data with components.


Previous Page
Next Page