Chapter 8. Using Controls and Repeaters with Data Sets

<feature><title>What You Will Learn</title>

In this lesson, you will:

  • Populate a HorizontalList with a data set and display the information using a labelField, labelFunction, and itemRenderer

  • Create an MXML component to be used as an itemRenderer

  • Loop over a data set using a Repeater component

  • Use the currentItem and currentIndex properties and the getRepeaterItem() method with a Repeater

  • Reference controls built by a Repeater using array notation

  • Instantiate a custom component in a Repeater

</feature>
<feature><title>Approximate Time</title>

This lesson takes approximately 2 hours to complete.

</feature>
<feature><title>Lesson Files</title>

Media Files:

  • None

Starting Files:

  • Lesson08/start/EComm.mxml ...

Get Adobe Flex 2: Training from the Source 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.