Show an MXML-based data model with properties of TextInput controls bound into its fields
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Model id="reg"> <registration> <name>{nme.text}</name> <email>{email.text}</email> <phone>{phone.text}</phone> <zip>{zip.text}</zip> <ssn>{ssn.text}</ssn> </registration> </mx:Model> <mx:TextInput id="nme" /> <mx:TextInput id="email" /> <mx:TextInput id="phone" /> <mx:TextInput id="zip" /> <mx:TextInput id="ssn" /> </mx:Application>