# How to stop video at scene change?

**URL:** https://forum.kirupa.com/t/how-to-stop-video-at-scene-change/284694
**Category:** Uncategorized
**Created:** [March 22, 2009, 3:05pm UTC](https://forum.kirupa.com/t/how-to-stop-video-at-scene-change/284694 "2009-03-22T15:05:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![darigan](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@darigan](https://forum.kirupa.com/u/darigan)
#### Post date: [March 22, 2009, 3:05pm UTC](https://forum.kirupa.com/t/how-to-stop-video-at-scene-change/284694/1 "2009-03-22T15:05:29Z")

</div>

I have a video player in a multimedia presentation I am building in Flash, which is almost complete and just having one problem. When I change the page (scene change), I can still hear the audio form the video. The Video is still playing, how can I stop this?

I was thinking if I added a stop function to all the buttons that link to different pages, but I don’t know how to refer to the FLVPlayer. Somethink like

Bio\_btn.addEventListener(MouseEvent.CLICK, StopVideo);

function StopVideo ???{  
???();  
isPlaying = true;  
}

but how do I write that function? and refer to the FLVPLayer??? Or is there a more fundamental way of dealing with this issue?

Help Appreciated
