# Simple stop FLV video script on Enter\_frame

**URL:** <https://forum.kirupa.com/t/simple-stop-flv-video-script-on-enter-frame/326751>\
**Category:** flash\
**Created:** [January 9, 2012, 11:03pm UTC](https://forum.kirupa.com/t/simple-stop-flv-video-script-on-enter-frame/326751 "2012-01-09T23:03:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KingOfHeart](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@KingOfHeart](https://forum.kirupa.com/u/KingOfHeart)\
**Post date:** [January 9, 2012, 11:03pm UTC](https://forum.kirupa.com/t/simple-stop-flv-video-script-on-enter-frame/326751/1 "2012-01-09T23:03:56Z")

</div>

I have a FLV video that I need to stop when my flash video reaches a certain frame.  
I named my video “SMB3video”  
Using AS3.

I don’t want something super advanced, just keep it as simple as possible.

I tried to create a script which gave me no errors until it reached the frame for the timeline.

```auto

this.addEventListener(Event.ENTER_FRAME,ent_frame); function ent_frame() { SMB3video.stop(); }

```
