On my movie i have a timer going in the background to reload some images after a set amount of time. I would like it to stop the timer while i have the mouse rolled over the button. I figured it would be easy but i cannot seem to find how to do this anywhere.
var intervalID:Number = setInterval(yourFunc, 1000);
clearInterval(intervalID);
first line creates the interval and stores a reference to its ID in the intervalID variable, second line you call when you want to stop the interval running