Note: This tutorial was created based on ColdFusion 8 and Flash Builder 4 beta 1. Though it still applies to ColdFusion 9, minor changes in the description and code may be necessary before it can be applied to Flash Builder 4 beta 2.
Adobe Flash Builder 4 beta, formerly known as Flex Builder, has a very simple interface for binding server-side data to Flex framework UI controls. Using Design mode, you can drag and drop components to create a layout and bind the data. In a matter of minutes, you will have a dynamically populated application without writing any code.
In this tutorial, you will learn how to use DataGrid and PieChart controls and bind them to the data returned from a ColdFusion Component (CFC) function. You will also learn how to synchronize the data in the two controls.
In order to make the most of this article, you need the following software:
In order to complete this tutorial successfully, be sure to set up and test your environment as outlined in Getting started with ColdFusion and Flash Builder 4 beta:
You can skip the steps above if you have already successfully completed any other tutorial in this series.
This tutorial is intended for:
Trilemetry, Inc is a development and education organization that implements a human-centered design approach to the creation of software and content. Their Adobe portfolio includes the Adobe ColdFusion Getting Started Experience, the Adobe Flex Getting Started Experience, the Flex in a Week video series, the official Adobe instructor-led training course Flex 3: Extending and Styling Components and more. They also create and support many Web applications from interactive Flash sites and corporate web sites to mission-critical business applications.