Data Model Flex


    creationComplete="handleCreationComplete();">
        
            
                
                    A
                    B
                

                
                    February 29th, 2010
                

            

        
    
        
            import mx.binding.utils.BindingUtils;
            
            private function handleCreationComplete():void{
                BindingUtils.bindProperty( lastNameField, "text", userModel, ["name", "lastName"] );
            }
            private function handleClick():void{
                userModel.name.firstName = fNameInput.text;
                userModel.name.lastName = lNameInput.text;
                userModel.birth.date = dateInput.text;
            }