# Controlling flv with custom buttons

**URL:** <https://forum.kirupa.com/t/controlling-flv-with-custom-buttons/281228>\
**Category:** flash\
**Created:** [February 6, 2009, 7:28am UTC](https://forum.kirupa.com/t/controlling-flv-with-custom-buttons/281228 "2009-02-06T07:28:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Strikeplate](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Strikeplate](https://forum.kirupa.com/u/Strikeplate)\
**Post date:** [February 6, 2009, 7:28am UTC](https://forum.kirupa.com/t/controlling-flv-with-custom-buttons/281228/1 "2009-02-06T07:28:42Z")

</div>

Greetings.

I have created a presentation which is mostly graphics and voiceover. I have created a few custom buttons to allow the user to pause, start over, etc. (not video). In a few places I am calling to external flv files which have been placed inside movieclips. I want to be use my custom pause button to pause the flv as well, as opposed to using a flv player/controller. I have made several attempts such as:

\_on (release) {  
\_root.myvideo\_mc.pause();  
}

or also giving the flv an instance name as well within the mc…

\_on (release) {  
\_root.myvideo\_mc.video1.pause();  
}

and trying stop/play instead of pause, etc…all to no avail. Can anyone help with the appropriate scripting to control an flv with a custom button?

Thanks in advance!
