hello,
i have an mp3 player that uses a progress bar to scrub back and forth. For some reason though, when i click the progress bar, instead of scrubbing, it goes to the end and stops playing.
here is my actionscript:
startMove = function () {
stopPlayback();
progressBar.onEnterFrame = function () {
if (btTrack._xmouse / btTrack._width * 100 > 100) {
}
if (100 <= 0) {
var local1 = 0;
}
_pos = _snd.duration / 1000 * (local1 / 100);
progressBar._xscale = local1;
};
};
stopMove = function () {
delete progressBar.onEnterFrame;
startPlayback();
};
any ideas as to why it is behaving this way?
Thanks!
-Keith