Hi! I have three buttons,which starts three separate videos…click on buttun starts video,that’s ok,but then video is not over,if to click again,it’s not starts video from begining…i’m talking about one video…i must push on other button and then on that again to start it from begining…here is code,maybe someone has any ideas?
import flash.events.MouseEvent;
import fl.video.FLVPlayback;
vidPlayer.stop();
Object(this).1btn.addEventListener(MouseEvent.CLICK, button1);
function button1 (e:MouseEvent):void{
Object(this).vidPlayer.source = “video1.flv”;
}
Object(this).2btn.addEventListener(MouseEvent.CLICK, button2);
function button2 (e:MouseEvent):void{
Object(this).vidPlayer.source = “video2.flv”;
}
Object(this).3btn.addEventListener(MouseEvent.CLICK, button3);
function button3 (e:MouseEvent):void{
Object(this).vidPlayer.source = “video3.flv”;