Video Streaming Problem (Please Help!)

First of all, i hope this is the right forum, since i saw no specific forum for FMS. I hope there are some people with experience in FMS and video streaming here who can help me out.

I have a problem streaming files from my Flash Media Server.

I have installed FMS and created a directory called “test” inside the “applications” folder and made a “test.flv” inside it.
I made a “test.swf” on another computer with a flv playback component in it called “player”.

I’m using the following code in case something’s wrong with it:

var connection_nc:NetConnection = new NetConnection();
connection_nc.connect("rtmp://myipaddress/test");
var stream_ns:NetStream = new NetStream(connection_nc);
stream_ns.onStatus(_info);
trace(_info.code);
player.attachVideo(stream_ns);
stream_ns.play("test.flv");

I don’t know if i have missed some step for making my app work in FMS or if there’s something wrong with my clientside code. Please help!

The error message i get is:

1000: Unable to make connection to server or to find FLV on server