# Movie Clips

**URL:** <https://forum.kirupa.com/t/movie-clips/9287>\
**Category:** Uncategorized\
**Created:** [December 9, 2002, 4:30am UTC](https://forum.kirupa.com/t/movie-clips/9287 "2002-12-09T04:30:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Palaecro](https://avatars.discourse-cdn.com/v4/letter/p/3d9bf3/32.png) [@Palaecro](https://forum.kirupa.com/u/Palaecro)\
**Post date:** [December 9, 2002, 4:30am UTC](https://forum.kirupa.com/t/movie-clips/9287/1 "2002-12-09T04:30:15Z")

</div>

Hi I was just wondering how I would go about doing this. I’m making some shape tweens that I would like to activate when a specific button is clicked.

That’s about it right there I was wondering if I should create each shape tween in a movie clip or something like that. I’m a bit of a newbie to flash so if this problem doesn’t make any sense that’s why.

Oh and one other thing I have an opening that leads directly into my navigation. Now should I put this opening into a movie clip, or would it matter. Thanks.

---

<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:** [December 9, 2002, 4:57am UTC](https://forum.kirupa.com/t/movie-clips/9287/2 "2002-12-09T04:57:54Z")

</div>

If you want your button to play the shape tweens then you could do it with 2 method.

1. place the shape tween animation inside a movie clip and give it an instance name like “myMC” and on the button apply this actionscript:

```php

on(release) {
myMC.play();
}

```

Or you can try this method.  
2) you can give your shape tween animation a label name like “shapetween” and apply this actionscript to the button:

```php

on(release) {
gotoAndPlay("shapetween");
}

```

And about your opening, I don’t know exactly why you would need it in a movie clip. If it already works then why mess with 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:** [December 9, 2002, 5:18am UTC](https://forum.kirupa.com/t/movie-clips/9287/3 "2002-12-09T05:18:29Z")

</div>

Thanks that answered it perfectly, as for the opening I thought that putting it into a movie clip might organize things, but maybe not.

Anyway I have a second question I just remembered. I want the opening animation that becomes the Navigation to remain in a looped animation. I’ll explain what I mean.

I have an animation that goes on for about 20 or so seconds. At the end the last part of the whole thing is an egg shape that I want to remain, with it I want a sort of Fluctuating light effect to remain around the egg. Now how do I animate this light effect so that it just loops.

With my current comprehension of flash the only way I know I could do this would just animate the light effect in the timeline but this would eventually run out. Any thoughts?

---

<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:** [December 9, 2002, 5:22am UTC](https://forum.kirupa.com/t/movie-clips/9287/4 "2002-12-09T05:22:43Z")

</div>

what I would probably do is put the light animation inside a movieclip and have it appear on the main timeline when the egg appears. So I would probably place the light movieclip on a new layer above the egg layer, but keyframe it after the egg appears.
