Combine binded data from Data Model
<?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>1 St.</address>
<city>My City</city>
<state>NY</state>
<zip>11111</zip>
<phone>516-555-9999</phone>
<email>p@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>
Related examples in the same category