PDA

View Full Version : Play FLV File


aboans
02-18-2004, 04:23 AM
on (release) {

var netConn:NetConnection = new NetConnection();

netConn.connect(null);

var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
status.text += "Status (NetStream)"+newline;
status.text += "Level: "+infoObject.level+newline;
status.text += "Code: "+infoObject.code+newline;
};

my_video.attachVideo(netStream);

netStream.setBufferTime(5);

netStream.play("04_56k.flv");
}

I have this code on a button to play a FLV File this code work nice on the local machine, but it doesn't work on the web .

anyone can Help me

barkgora
05-31-2005, 07:42 PM
I'm going through some similar pain. One thing to try is to NOT include the file extension in the flv reference, "movie" not "movie.flv".