Data Model Flex



    
        
            import flash.net.LocalConnection;
            private var _localConnection:LocalConnection;
            private function initializeHandler(event:Event):void {
                _localConnection = new LocalConnection(  );
                _localConnection.connect("dataChannel");
                _localConnection.client = this;
            }
            public function displayMessage(message:String):void {
                output.text += message + "\n";
            }