# HELP! FLV player in Flash

**URL:** <https://forum.kirupa.com/t/help-flv-player-in-flash/226184>\
**Category:** flash\
**Created:** [May 18, 2007, 5:14pm UTC](https://forum.kirupa.com/t/help-flv-player-in-flash/226184 "2007-05-18T17:14:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dezamp](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@dezamp](https://forum.kirupa.com/u/dezamp)\
**Post date:** [May 18, 2007, 5:14pm UTC](https://forum.kirupa.com/t/help-flv-player-in-flash/226184/1 "2007-05-18T17:14:50Z")

</div>

I have created my own flv player in flash using tutorials from [gotoandlearn.com](http://gotoandlearn.com). However now I am stuck! I want to put a replay button at the end of my movie! i used this code:

```auto
if (info.code == "NetStream.Play.Stop"){
        replayBu._visible = true;
        replayBu.onRelease = function(){
            ns.seek(0);
            this._visible = false;
        }
    }

```

This works but the button also appears when I use the scrubber/seek bar. I need to find a way so that it only shows at the end of a video!

Please Help!:p:
