受信側:
//メインタイムラインのフレームアクション
receive_lc = new LocalConnection();
receive_lc.putMessage = function(msg) {
monitor_txt.text += msg + "\n";
monitor_txt.scroll ++;
};
ok = receive_lc.connect("receiver");
if (!ok) monitor_txt.text = "接続できません";
close_btn.onRelease = function() {
receive_lc.close();
};