Hey guys. I'm having troubles with my scrubber on my loadbar again.
As a picture says a 1000 words heres a screenshot of the problem:
Basically the scrubber bar is going waaaay past the 373px I asked to stop at.
I've tried messing about with telling scrubber_mc to stop at the end of ._x of the loadbar clip but have had no luck.
Anybody with suggestions?
Here's the code:
/*These are the scrubber functions*/
loader_mc.scrub_mc.onPress = function()
scrubInterval = setInterval(scrubber,10);
loader_mc.scrub_mc.onRelease = loader_mc.scrub_mc.onReleaseOutside = function()
videoInterval = setInterval(videoStatus,100);
ns.seek(Math.floor(loader_mc.scrub_mc._x/373 * duration));
Any help is appreciated.
Thanks in advance
I think the 0 and 373(stating and ending points)reffering the registration point of loader_mc (not from the base movie ie;stage)
Thanks for the reply. I figured there is something wrong with the either the reg points or I'm not actually scripting the scrubber correctly. Sorry I'm very newbish on AS so what you recommend I do?
inside the loader_mc place the scrubber_mc and the rest of graphics to the reg point.
And replace 373 with the width of the bar.