I have an FLV that starts playing onRollOver but no matter what I try I can’t get the video to stop. I tried onRollOut as a gotoAndPlay to frame1 as a means of stopping, but it is definitely not going to frame1 onRollOut
stop();
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
my_video.smoothing = true;
my_video.attachVideo(ns);
ns.setBufferTime(5);
function play_func() {
ns.stop();
ns.play("life.flv");
}
mc.onRollOver=function(){
play_func();
}
mc.onRollOut = function(){
this.gotoAndPlay("first");
}