Reporting from the 360Flex Conference and fresh from Danny Patterson's Tuesday E4X Session, here is a quick example of E4X at work plus a dash
of ColdFusion. This demo displays a Flex 2 TextArea of a simple XML data structure read in with the HttpService as E4X and, utilizing a Repeater,
a dynamic amount of buttons (labeled with friends of Joey's names) are displayed. Adding to or editing the XML in the TextArea and saving the
changes makes a RemoteObject call to a ColdFusion CFC that writes out the data.xml file, and the buttons are updated through a Bindable ArrayCollection -
the dataProvider of the Repeater.
Try It
|