# Stopping an FLV upon navigation?

**URL:** <https://forum.kirupa.com/t/stopping-an-flv-upon-navigation/281440>\
**Category:** flash\
**Created:** [February 9, 2009, 12:57pm UTC](https://forum.kirupa.com/t/stopping-an-flv-upon-navigation/281440 "2009-02-09T12:57:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![greenbeaner](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@greenbeaner](https://forum.kirupa.com/u/greenbeaner)\
**Post date:** [February 9, 2009, 12:57pm UTC](https://forum.kirupa.com/t/stopping-an-flv-upon-navigation/281440/1 "2009-02-09T12:57:25Z")

</div>

Thanks to everyone’s help on here, I’ve finally almost have my website completed…but I have one more (hopefully my last) question. I have an FLV file and when I navigate away from it the audio continues to play. The instance name of the FLV is “reel” From other forums I’ve read that I need use: reel.stop(); however I think my case is different as the buttons to navigate away are all contained within movie clips. Here is the code I am using on my buttons.

stop();

import flash.events.MouseEvent;  
motion.addEventListener(MouseEvent.ROLL\_OVER, roll\_over);  
motion.addEventListener(MouseEvent.ROLL\_OUT, roll\_out);  
motion.addEventListener(MouseEvent.MOUSE\_DOWN, button\_click);

var appRoot:MovieClip = parent as MovieClip;

function roll\_over(event:MouseEvent):void {  
gotoAndPlay(1)  
}

function roll\_out(event:MouseEvent):void {  
gotoAndPlay(9)  
}

function button\_click(event:MouseEvent):void {  
appRoot.gotoAndPlay(130)  
};

What additions do I need to make to fix this issue? Again thank you guys so much for your help!

_EDIT_ One thing I forgot to mention was that the FLV is also contained in a movieclip itself called reelMC (just so that i could have drop shadow …)
