# Spinning Wheels

**URL:** <https://forum.kirupa.com/t/spinning-wheels/59544>\
**Category:** flash\
**Created:** [August 1, 2004, 10:23pm UTC](https://forum.kirupa.com/t/spinning-wheels/59544 "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/59544/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:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2004, 7:47am UTC](https://forum.kirupa.com/t/spinning-wheels/59544/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.
