1 Reply Latest reply on Jul 7, 2009 4:05 AM by bichomalo3

    Audio Player, seek not working

    bichomalo3

      Hi,

       

      I'm building a flex audio player with a seekbar.

       

      I try with this 2 functions :


      slider.addEventListener(SliderEvent.THUMB_PRESS, slider_thumbPress);
      slider.addEventListener(SliderEvent.THUMB_RELEASE, slider_thumbRelease);

       

      private function slider_thumbPress(event:SliderEvent):void {
      xx.stop();
      }

      private function slider_thumbRelease(event:SliderEvent):void {
      xx = mySound.play(seek.value,0);
      trace(seek.value);
      }

       

       

      The problem is when I release the slider, the seek.value is (i think so...) correct but the stream starts again from position 0 and not in "seek.value".

       

      An idea ? I forgot anything ?

       

      Thanks.