This content has been marked as final. Show 3 replies
Try setting the 'dx' var not to 0, but to some other value in the declaration, like 10. That way it should start moving even if the mouse isn't over the clip.
Thanks for the response.
I had (and tried again) to adjust the dx var ... when I run the MC it starts to scroll, but stops. If I increase the number it scrolls farther but once again stops. If I put a negative number it scrolls in the opposite direction, but again stops.
Any other suggestions? You can see an example of the clip at www.teamxposure.com/hemi
Since the "mouse code" is changing the initial behaviour, enable it only after a certain amount of time. Say... have a counter running up to 1000 inside the moveSlider function. Add the following condition in the 1st 'if...'
if ((counter > 1000) && (!stopping) ...
And initialise 'dx' to another value. Hope this works.