I connected to the FlashCom Server and got success. But I cann't send the file to server that I record the live view. Also I couldn't see any .flv in the server system.

I used the code is
----------------------------------------
client_nc = new NetConnection();
client_nc.connect("rtmp://server:host/Record/data","username","password");
out_ns = new NetStream(client_nc);
in_ns = new NetStream(client_nc);
Replay_video.attachVideo(in_ns);
----------------------------------------
out_ns.attachVideo(Camera.get());
out_ns.publish("myrecord", "append");
Play_btn.setEnabled(false);
in_ns.play("myrecord");
----------------------------------------

I don't know where did I mistake.
If someone knows please help me and point me in the right direction. Any help would be greatly appreciated. Thanks.

Best regards,

softip