Skip to Main Content
Flash® Catalyst™ CS5 Bible
book

Flash® Catalyst™ CS5 Bible

by Rob Huddleston
May 2010
Intermediate to advanced content levelIntermediate to advanced
528 pages
11h 27m
English
Wiley
Content preview from Flash® Catalyst™ CS5 Bible

Chapter 24. Add Data Lists

IN THIS CHAPTER

  • Add a data list

  • Configure data list parts

  • Configure the repeating item

  • Set up Design-time Data

Many applications will have sections that require dynamic data from server-side resources. Whether product lists, employee directories, items in a shopping cart or photo galleries, these kinds of data lists will likely be an important element in your application. In many cases, Flex's ability to pull in server-side data and display it graphically will be one of the key factors in deciding to build the application in Flex.

Catalyst cannot connect your application to server-side resources nor display live data; both of those must be done by a Flex developer in Flash Builder. However, it is possible to include a representation of the data in your application through data lists and design-time data.

Convert Artwork to a Data List

Data lists are one of the default component types in Catalyst. Converting artwork to a data list requires the same procedure as converting any other artwork: You select the elements that make up the data list and then use the heads-up display (HUD) to convert to the component.

While the process of converting to a data list is the same as any other component, there are a few important caveats to consider before you convert. First, if your application is going to pull in enough data to require that the data list be scrollable, you need to create a scrollbar component and be sure to include it in the elements that you select to convert ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Photoshop Elements 12: The Missing Manual

Photoshop Elements 12: The Missing Manual

Barbara Brundage

Publisher Resources

ISBN: 9780470568156Purchase book