# How to stop FLV after going different frames?

**URL:** <https://forum.kirupa.com/t/how-to-stop-flv-after-going-different-frames/255673>\
**Category:** flash\
**Created:** [March 25, 2008, 9:14pm UTC](https://forum.kirupa.com/t/how-to-stop-flv-after-going-different-frames/255673 "2008-03-25T21:14:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spark067](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@spark067](https://forum.kirupa.com/u/spark067)\
**Post date:** [March 25, 2008, 9:14pm UTC](https://forum.kirupa.com/t/how-to-stop-flv-after-going-different-frames/255673/1 "2008-03-25T21:14:24Z")

</div>

Hi everyone!  
I have three FLV files and I created a movieclip and put these FLV files.  
My problem is that after viewing FLV and I go to different frames, then FLV is still playing. How to stop this?

This is how I wrote AS3:

stop();

function vid1(e:Event):void{  
vidPlayer.source = “[http://www.funrise.com/flash/BBQ.flv](http://www.funrise.com/flash/BBQ.flv)”  
}  
vid1\_btn.addEventListener(MouseEvent.CLICK,vid1);

function vid2(e:Event):void{  
vidPlayer.source = “[http://www.funrise.com/flash/GAZOOKA.flv](http://www.funrise.com/flash/GAZOOKA.flv)”  
}  
vid2\_btn.addEventListener(MouseEvent.CLICK,vid2);

function vid3(e:Event):void{  
vidPlayer.source = “[http://www.funrise.com/flash/TYPHOON.flv](http://www.funrise.com/flash/TYPHOON.flv)”  
}  
vid3\_btn.addEventListener(MouseEvent.CLICK,vid3);

Hope someone helps this.

Thanks,
