Mega Code Archive

 
Categories / Flex / Data Model
 

An mx

data model with binding destinations in curly braces" src="http://www.rntsoft.com/Code/FlexImages/AnmxXMLdatamodelwithbindingdestinationsincurlybraces.PNG"             <?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">   <mx:XML id="myEmployee" format="e4x">     <employee>       <name>         <first>{firstName.text}</first>         <last>{lastName.text}</last>       </name>       <department>{department.text}</department>       <email>{email.text}</email>     </employee>   </mx:XML>   <mx:TextInput id="firstName" />   <mx:TextInput id="lastName" />   <mx:TextInput id="department" />   <mx:TextInput id="email" /> </mx:Application>