9. Manipulating Data

Most components within the Flex framework rely on data to function. Complex controls tend to rely on more data than simple components, thus employ a dual data handling strategy: display and management.

Defining Component Data

It may sound like an obvious question, but what is data in relation to components? After all, there are the properties and values that the component uses internally and there are the properties that can be set externally that affect how the component displays or reacts to the application it inhabits.

Both are correct answers. However, for the sake of this chapter, I concentrate on the latter: setting properties externally that affect how your component displays or reacts to the application it inhabits. ...

Get Developing Flex 4 Components: Using ActionScript 3.0 and MXML to Extend Flex and AIR Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.