# FLV playback wont stop after the page has changed

**URL:** <https://forum.kirupa.com/t/flv-playback-wont-stop-after-the-page-has-changed/291662>\
**Category:** flash\
**Created:** [July 2, 2009, 8:43pm UTC](https://forum.kirupa.com/t/flv-playback-wont-stop-after-the-page-has-changed/291662 "2009-07-02T20:43:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cduncs](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@cduncs](https://forum.kirupa.com/u/cduncs)\
**Post date:** [July 2, 2009, 8:43pm UTC](https://forum.kirupa.com/t/flv-playback-wont-stop-after-the-page-has-changed/291662/1 "2009-07-02T20:43:56Z")

</div>

(Flash ActionScript 3)

Hi there,

I’m very new to Flash and i am trying to close a FLVPlayback component from a button in a parenting movieClip

I have been successful in closing the video using a button from the same movieClip that the component resides.

I did this using the following AS:

… … …

test\_btn.addEventListener(MouseEvent.CLICK, test\_btnClickHandler);  
function test\_btnClickHandler(event:MouseEvent):void {  
showreel\_flv.getVideoPlayer(showreel\_flv.activeVid eoPlayerIndex).close();  
MovieClip(parent.parent.parent).allPages.gotoAndPl ay(“cv”);  
trace(“test\_btn Button CLicked”);  
}

… … …

But i am wanting to use a button that is at least a x3 parent of the component.

This is the hierarchy of my site (all movieClip’s):

entireSite\>allPages\>showreel\_page\>showreel\_video\> (the component).

the button i want to use is in:

entireSite\>allPages\>footer\_btns\> (the buttons)

if someone could show me how to direct my command to the component, then quite frankly, you would be my hero!

Thank you so much

I’d be very grateful if anyone could even point me in the right direction, and i will help others as much as i can.
