# Need to stop Multiple External Playback Flv that are in the same swf

**URL:** https://forum.kirupa.com/t/need-to-stop-multiple-external-playback-flv-that-are-in-the-same-swf/301530
**Category:** flash
**Created:** [December 10, 2009, 6:48pm UTC](https://forum.kirupa.com/t/need-to-stop-multiple-external-playback-flv-that-are-in-the-same-swf/301530 "2009-12-10T18:48:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thevibe](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@thevibe](https://forum.kirupa.com/u/thevibe)
#### Post date: [December 10, 2009, 6:48pm UTC](https://forum.kirupa.com/t/need-to-stop-multiple-external-playback-flv-that-are-in-the-same-swf/301530/1 "2009-12-10T18:48:25Z")

</div>

Hi guys,

I have 4 videos (external playback flv) that can be play pressing 4 buttons. I noticed that when I decided to jump to another video the first video will still continue to load anyway. What can I write to tell the first video or even the 3 other videos to stop loading when I click to see 1 in particular. I found a code that I thought was working but it doesn’t… here it is;

btn\_1.addEventListener(MouseEvent.CLICK,btn1);

function btn1(event){

if ((root as MovieClip).vids.vid2) {  
(root as MovieClip).vids.vid2.stop();  
}  
if ((root as MovieClip).vids.vid3) {  
(root as MovieClip).vids.vid3.stop();  
}  
if ((root as MovieClip).vids.vid4) {  
(root as MovieClip).vids.vid4.stop();  
}  
(root as MovieClip).vids.gotoAndPlay(1);  
}

Thanks in advance for the help
