|
-
Sound Duration Bar, PLEASE HELP :)
i have made an mp3 player that loads mp3s from a dir on my server and streams them. i made a duration bar (duration_mc) to show how much of the song has elaped:
duration_mc.onEnterFrame = function(duration){
this._xscale=my_sound.position/my_sound.duration*100;
it works for the first song, but then when you click another track it will continue from where it left off on the previous song.
my question is, how can i make the duration bar reset to the beginning when you click to stream another song?
-
BradyWhite.net
my best guess is that we cannot simply solve this problem with the code you have provided, we just have a small slice of the big picture. If you could give us better detail, I'm sure we could get it to work. Maybe upload your file or give us all the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|