# Looping Animations?

**URL:** <https://forum.kirupa.com/t/looping-animations/65560>\
**Category:** flash\
**Created:** [September 27, 2004, 8:07pm UTC](https://forum.kirupa.com/t/looping-animations/65560 "2004-09-27T20:07:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevDreamer](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@DevDreamer](https://forum.kirupa.com/u/DevDreamer)\
**Post date:** [September 27, 2004, 8:07pm UTC](https://forum.kirupa.com/t/looping-animations/65560/1 "2004-09-27T20:07:04Z")

</div>

Hello all!

I’m currently working on my full flash site and I can’t figure out on how to loop an animation. I have a circle ontop of my menu with blades around it, and I want the blades to rotate around the circle but I can’t figure out how to loop it all. Anyhelp would be great.

Thanks in advance.

---

<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:** [September 27, 2004, 8:11pm UTC](https://forum.kirupa.com/t/looping-animations/65560/2 "2004-09-27T20:11:06Z")

</div>

Assuming you used motion or shape tweens, a simple

```auto

gotoAndPlay(1);

```

at the last frame of your movieclip will tell flash at the end of this animation go back and play it again.

---

<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:** [September 27, 2004, 8:15pm UTC](https://forum.kirupa.com/t/looping-animations/65560/3 "2004-09-27T20:15:33Z")

</div>

> [@Digitalosophy](#):
>
> Assuming you used motion or shape tweens, a simple
> 
> ```auto
> 
> gotoAndPlay(1);
> 
> ```
> 
> at the last frame of your movieclip will tell flash at the end of this animation go back and play it again.

Hmm, maybe I’m not doing it right… it still ends on the keyframe and when I try to put it off the keyframe, the script just locates the last keyframe before it…

---

<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:** [September 27, 2004, 8:22pm UTC](https://forum.kirupa.com/t/looping-animations/65560/4 "2004-09-27T20:22:02Z")

</div>

create a new layer and hit f6 to create a **blank** keyframe at the end of your animation.

if you’d like post your fla it would probably be easier.

---

<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:** [September 27, 2004, 8:24pm UTC](https://forum.kirupa.com/t/looping-animations/65560/5 "2004-09-27T20:24:37Z")

</div>

> [@Digitalosophy](#):
>
> create a new layer and hit f6 to create a **blank** keyframe at the end of your animation.
> 
> if you’d like post your fla it would probably be easier.

Anyway I could email it to you?

---

<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:** [September 27, 2004, 8:34pm UTC](https://forum.kirupa.com/t/looping-animations/65560/6 "2004-09-27T20:34:15Z")

</div>

digitalosophy [at] [gmail.com](http://gmail.com)

---

<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:** [September 27, 2004, 8:40pm UTC](https://forum.kirupa.com/t/looping-animations/65560/7 "2004-09-27T20:40:19Z")

</div>

> [@Digitalosophy](#):
>
> digitalosophy [at] [gmail.com](http://gmail.com)

Alright, I send the email… hope it helps.

---

<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:** [September 27, 2004, 8:46pm UTC](https://forum.kirupa.com/t/looping-animations/65560/8 "2004-09-27T20:46:41Z")

</div>

ahh, you would have to make that object its own movieclip so it wont interfere with your main timeline.

create a movieclip and put your animation in there, then at the last frame of your movieclip put the gotoAndPlay(1); actions.

---

<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:** [September 27, 2004, 9:04pm UTC](https://forum.kirupa.com/t/looping-animations/65560/9 "2004-09-27T21:04:08Z")

</div>

Hmm… its still not working… oh well, I just won’t loop it, simple solution :).  
Thanks for the help anyway, It will probably come in handy when I get better with Flash :).
