Bind Data Model to Label
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#FFFFFF"> <mx:Model id="contactmodel"> <contact> <fname>First</fname> <lname>Last</lname> <address>101 St.</address> <city>My City</city> <state>NY</state> <zip>11111</zip> <phone>516-555-9999</phone> <email>pro@gmail.com</email> </contact> </mx:Model> <mx:Panel title="Contact Info" width="200" height="170"> <mx:Label text="{contactmodel.fname} {contactmodel.lname}" /> <mx:Label text="{contactmodel.address}" /> <mx:Label text="{contactmodel.city} {contactmodel.state}, {contactmodel.zip}" /> <mx:Label text="{contactmodel.phone}" /> <mx:Label text="{contactmodel.email}" /> </mx:Panel> </mx:Application>