Scripted animation with setInterval

Hello all :smiley:

What I have is actionscript which moves a movieclip from one point of the stage to another, using two buttons to trigger it - fwd_btn and rwd_btn. I also use a setInterval function, so that when you press one of the buttons, it pauses a second before moving. Unfortunately, if you press the fwd and rwd buttons in succession rapidly, the animation gets caught in a never-ending loop. If someone could take a look at my example and let me know how to stop this, I’d be very grateful. Thanks. :slight_smile:

**Edit
Also, note that every time the user clicks a button, if the movieclip is right in the middle of animating across the stage, I wish it to stop and pause, not complete the animation and then pause.

-swan