Script-based models
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> [Bindable] public var myEmployee:Object={ name:{first:null,last:null}, department:null, email:null }; </mx:Script> </mx:Application>