2 Replies Latest reply on Mar 2, 2010 1:27 AM by qatap

    mp3 player - how to move HSlider thumb


      Hi! Please help


      When the mp3 record is playing it should move thumb on HSlider. How to do it right?


      I think I should to add addEventListener() to the Sound() object. Next point out some event (I don't know what it will be) and function into addEventListener(). When this event will appear the function will change HSlider value.


      Somthing like that


      var song:Sound = new Sound();
      song.addEventListener(событие, moveSlider);


      private function moveSlider():void {
      //change HSlider value