I am using NetStream to load an FLV into a SWF. I got the FLV video to repeat just fine. The problem is I don’t want it to loop to the beginning. I tried changing ns.seek(0); to ns.seek(15); but obviously that doesn’t work. Basically I want it to repeat to frame 15 of the FLV instead of the beginning. Below is my code.
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(3);
ns.onStatus = function(info) {
if (info.code == “NetStream.Play.Stop”) {
ns.seek(0);
}
};
video1_video.attachVideo(ns);
ns.play(“Katie_11_288x165.flv”);
If anyone can point me in the right direction or help me out it would be greatly appreciated.