3 Replies Latest reply on Jul 28, 2009 5:28 AM by webqaflash

    Scrubber problems continued. AS2/Flash CS3


      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:

      Picture 10.png


      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*/


      var scrubInterval;


      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);


      function scrubber()
          ns.seek(Math.floor(loader_mc.scrub_mc._x/373 * duration));


      Any help is appreciated.


      Thanks in advance