0 Replies Latest reply on Jan 31, 2008 8:10 AM by bhuber7

    clearInterval on stage mouse over?

    bhuber7 Level 1
      Hey everyone. I have a slideshow that changes images every 6 seconds. Looks like this:

      timeInterval = setInterval(AutoChange, 6000);

      Now, when someone mouse's over anywhere on the stage, I want to stop the timer. I'm thinking something like this:

      something.onRollOver = function()
      {
      clearInterval(timeInterval);
      }


      Am I on the right track? What would replace "something" up above to specify a stage mouse over.

      Thanks!