HELP! FLV player in Flash

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

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: