[Quietly Scheming] Using Graphics API for richer Flex: The Display Shelf Component
November 3, 2006 4 Comments
It’s a good example of how to use the flash display object and graphics API to build rich content in flex, as well as how to take advantage of some of the core architectural concepts of the framwork and MXML to build more advanced components.
The DisplayShelf component demonstrates using a number of flex and flash concepts to provide a rich, templatable control to display a faux-3d view of a list of items. Its behavior is similar to the CoverFlow visualization added to iTunes in version 7.
The sample is broken into two pieces. The first, the TiltingPane component, takes any content and wraps it in a faux ‘3d’ effect, allowing you to tilt it from side to side. The second, the DisplayShelf component, uses the TiltingPane component to render a list of items along a virtual shelf, with the selected item pulled out for display.
This sample was the centerpiece from my MAX 2006 presentation, “Flex under the hood: A tour through the Flex architecture.”
Check out the demo.Its really Cool …