# Sliding Seekbar for a XML Music Player

**URL:** https://forum.kirupa.com/t/sliding-seekbar-for-a-xml-music-player/280783
**Category:** flash
**Created:** [January 31, 2009, 7:55pm UTC](https://forum.kirupa.com/t/sliding-seekbar-for-a-xml-music-player/280783 "2009-01-31T19:55:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cr\_sa](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cr\_sa](https://forum.kirupa.com/u/cr_sa)
#### Post date: [January 31, 2009, 7:55pm UTC](https://forum.kirupa.com/t/sliding-seekbar-for-a-xml-music-player/280783/1 "2009-01-31T19:55:29Z")

</div>

I’ve been working on a XML loaded MP3 player using Flash 8 and AS2.

Have everything working well but am having an issue with the seek bar (or scrubber).

I have the seekbutton\_mc where it will adjust the position of the mp3 based on where it is on the seekbar\_mc but when the next song loads I can’t figure out how to get the seekbutton\_mc to return to the starting position on the seekbar\_mc.

Can’t get them all to sync up correctly.

The next selected song plays correctly and once the seekbutton\_mc is clicked to be moved, it adjusts the mp3 file to that location of the song.

The seekbutton\_mc has full functionality, it just doesn’t return to the beginning of the seekbar\_mc when the next songs plays.

If only there were a rubberband method…

Any thoughts?
