Netstream move video forward or backward

Hi,

I simply want to move a video forward and backword when it is already playing, but the seek method is not working properly. I can’t figure out, where the problem is.

I have two buttons (pluz_btn and minus_btn). Plus button is used to move half second forward and Minus button is used to go back half seconds.

The plus button is working but it is showing about is moving the video to about 3 seconds.

The minus button should move video backword. But it is also moving it forward.


streamTime_txt.text="0";
plus_btn.onRelease = function()
    {

        first_ns.seek(first_ns.time+.5);
        streamCount += 1;
        streamTime_txt.text = streamCount;
    };
    minus_btn.onRelease = function()
    {
        first_ns.seek(first_ns.time-.5);
        streamCount -= 1;
        streamTime_txt.text = streamCount;
    };

Thanks