Model and binding
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#eeeeee"> <mx:Model id="myContact"> <data> <contactId>1</contactId> <firstName>F</firstName> <lastName>L</lastName> <address>123 Main Street</address> <city>My City</city> <state>AA</state> <zipCode>12345</zipCode> <dob>11/28/2010</dob> <telephone>555-123-4567</telephone> </data> </mx:Model> <mx:Label text="{myContact.firstName} {myContact.lastName}"/> <mx:Label text="{myContact.address}"/> <mx:Label text="{myContact.city}, {myContact.state} {myContact.zipCode}"/> <mx:Label text="{myContact.dob}"/> <mx:Label text="{myContact.telephone}"/> </mx:Application>