I made a quick scrolling banner for a friend. There are buttons scrolling by in a loop and I was just trying to make the loop stop when the mouse rolled over a button to read, or push it.
I tried setInterval first, and now setTimeout. My problem is, the length of time is not consistent. When the .swf first starts, it takes a 5 second break, and starts scrolling again. After stopping it again and again with a mouse movement, it eventually becomes a much shorter pause than 5 seconds.
Any ideas?
onClipEvent (mouseMove) {
stop();
setTimeout(please, 5500);
function please(){
play();
updateAfterEvent;
}
}