1 Reply Latest reply on Nov 27, 2006 6:10 AM by jack10

    Help with NetStream seek()

    twins
      Hi all,

      Try to find help for Flash I first searched Flash group on Google and found this group, I posted several times but got no answer. Today I log on the forum and could not find any of my posts, so I guess my posts can't be seen if they are posted from outside of the forum. Anyway below is my question, hope I can get quick answer this time. Thanks.


      I use NetStream seek() function to jump to certain point of a flash
      video file(flv).
      If I only use
      ns.seek(5);
      it doesn't work.

      But if use
      ns.play();
      ns.seek(5);
      it works.

      I know ns.play() shouldn't be there, but don't know how to fix it.
      Please help.

      Thanks in advance.
        • 1. Re: Help with NetStream seek()
          jack10
          Hi,

          I realize this is a fairly old message, but in case you haven't found an answer, here what I have on my forward and back button that do a seek:

          forward_btn.onRelease = function() {
          my_ns.seek(my_ns.time + 50);
          }

          back_btn.onRelease = function() {
          my_ns.seek(my_ns.time - 50);
          }