I have a simple flv file set up to stream. I have coded my client side flash like so:

connection = new NetConnection();
connection.connect("rtmp://localhost/stream");
subscribeStream = new NetStream(connection);
subscribeStream.play("corp");
myVid.attachVideo(subscribeStream);

but it isn't working. Does the flv file need to be in a specific directory? Does there have to be a path to it? What am I doing wrong. This is a simple stream with no buffering. Any help would be appreciated.