Skip to main content

Disable Images

flash question

I am working on a little flash file and can not get this video to stop looping! I thought netStream.loop(false); would handle it but it does not. What am i doing wrong?
Thanks for your help.

var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
if (infoObject.code == "NetStream.Play.Stop") {
netStream.seek(0);
netStream.play.stop();
}
};
myVideo.attachVideo(netStream);
netStream.setBufferTime(0);
netStream.play("");

66Comments

Skip to main content