# Stop and play video help!

**URL:** <https://forum.kirupa.com/t/stop-and-play-video-help/320548>\
**Category:** Uncategorized\
**Created:** [March 26, 2011, 5:23pm UTC](https://forum.kirupa.com/t/stop-and-play-video-help/320548 "2011-03-26T17:23:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![izzo101](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@izzo101](https://forum.kirupa.com/u/izzo101)\
**Post date:** [March 26, 2011, 5:23pm UTC](https://forum.kirupa.com/t/stop-and-play-video-help/320548/1 "2011-03-26T17:23:40Z")

</div>

Using an FLVPlayback component that is calling an external video. Got it to pause and seek to 0 when I click to different frame and once I click back I got it to play the video normally FINALLY! Problem is a quarter of the way through the second video play it automatically jumps to next frame. Anyone know why? Hope this thread is much more clear and I can get a response. Here is the scrip ---- Please Help.

–Frame 1–  
import fl.video.\*;

button.addEventListener(MouseEvent.CLICK, fl\_MouseClickHandler);

function fl\_MouseClickHandler(event:MouseEvent):void  
{  
video.pause();  
video.seek(0);  
video.visible = false;  
gotoAndPlay(2);  
}

stop();

–Frame 2—  
button2.addEventListener(MouseEvent.CLICK, btn2Down);

function btn2Down(event:Event):void  
{  
video.visible = true;  
video.play();  
gotoAndPlay(1);  
}

stop();
