Jump to content


Funkysoul's MP3 Tutorial Part 3 - Playhead


  • You cannot reply to this topic
1 reply to this topic

#1 Net Nut

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 10 March 2007 - 01:42 PM

Hi there,

I have followed all 3 of Funkysoul's tutorials on the site and managed to build a fairly impressive MP3 Player but one thing I am having a problem with:

My loadbar is located on the far right of the movie, rather than the far left as in the tutorials. This means that when i load the player the playHead jumps to the left of the movie and progresses from that position. How can I alter the code to ensure it is relative to the placement of the loadbar?

Something else I also noticed... the volume control tooltip only ever goes up to 99 when being dragged :rolleyes: I have tried changing the registration point of the movieclip, and even the drag contraints to add a couple of pixels but it still only ever shows 99. Any ideas where i could have gone wrong??

Thanks in advance

NetNut :D

Edited by Net Nut, 10 March 2007 - 01:57 PM.


#2 Net Nut

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 10 March 2007 - 02:37 PM

Ok, I managed to find the solution to the playhead problem:

I quoted the _x position of the playhead to the line in the soundStatus function to read as :

playHead._x = 224 + position / duration * 105 + 5;
so it now works fine! B)

Would still appreciate some suggestions for the volume scrubber though as I realy can't see where i'm going wrong!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users