import flash.net.LocalConnection;
private var _localConnection:LocalConnection = new LocalConnection( );
private function sendMessage(event:MouseEvent):void {
_localConnection.send("dataChannel", "displayMessage", message.text);
}