# Spinning Wheels

**URL:** <https://forum.kirupa.com/t/spinning-wheels/117999>\
**Category:** Uncategorized\
**Created:** [August 1, 2004, 10:23pm UTC](https://forum.kirupa.com/t/spinning-wheels/117999 "2004-08-01T22:23:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [August 1, 2004, 10:23pm UTC](https://forum.kirupa.com/t/spinning-wheels/117999/1 "2004-08-01T22:23:29Z")

</div>

I have a banner, and on this banner there are three wheels which spin continuously by way of motion tweens.

What I want to do is have them stop spinning for a few seconds and then continue spinning, this process will be repeated every time.

So my question is: How would I accomplish this?

I know I could just add a bunch of frames to stop the wheels from spinning, but I was wondering if there’s a script that will do this without having to add frames.

Thanks in advance for any help.

---

<div class="post-metadata">

**Author:** ![ViNc3](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@ViNc3](https://forum.kirupa.com/u/ViNc3)\
**Post date:** [August 3, 2004, 7:47am UTC](https://forum.kirupa.com/t/spinning-wheels/117999/2 "2004-08-03T07:47:07Z")

</div>

if you have a button you could add this code to it:

```php
 
on (rollOver) {
	yourMovieClip.stop();
}
on (rollOut) {
	yourMovieClip.play();
}

```

if your animation is on the main time line, just replace ‘yourMovieClip’ with \_root.

or you could use setIntervals. Seach the forums and tutorials for setIntervals.
