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
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