Components Flex



    
        
            import mx.utils.ObjectProxy;
            
            private var obj:Object = {name:'Name',album:'Song',genre:'Rock'};
            
            [Bindable]
            private var proxy:ObjectProxy = new ObjectProxy( obj );
            
            private function handleClick():void
            {
                proxy.name = nameField.text;
                proxy.album = albumField.text;
                proxy.genre = genreField.text;
            }