I am trying to stream a small FLV file. It works fine in FLVPlayer. When I
try to stream through Flash Media Server I am only getting sound and no video.

Here is my code:

// Make a connection to the application on the server
var client_nc = new NetConnection();

// Handle status message
client_nc.onStatus = function(info) {
trace("Level: "+info.level+newline+"Code: "+info.code);

// Create input stream
var ns = new NetStream(client_nc);