# Pleeeease help

**URL:** https://forum.kirupa.com/t/pleeeease-help/5944
**Category:** Uncategorized
**Created:** [September 26, 2002, 9:29am UTC](https://forum.kirupa.com/t/pleeeease-help/5944 "2002-09-26T09:29:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jimw00d](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jimw00d](https://forum.kirupa.com/u/jimw00d)
#### Post date: [September 26, 2002, 9:29am UTC](https://forum.kirupa.com/t/pleeeease-help/5944/1 "2002-09-26T09:29:57Z")

</div>

I have created a button with an animation in the over state, only a simple alpha tween, at the end of the animation, I have placed an additional button inside the master button.

When testing the alpha on the master is fine but when I move the mouse near the other button the animation starts again.

I would like a clickable button that doesn’t re-start the tween.

this has been achieved at [www.phillipkerman.com](http://www.phillipkerman.com)

Any help would be great

cheers

I have attached the flash file if you wanna have a look see.  
:-\

---

<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 26, 2002, 10:42am UTC](https://forum.kirupa.com/t/pleeeease-help/5944/2 "2002-09-26T10:42:34Z")

</div>

Hi there, sorry i haven’t hada chance to look at your fla file, BUt i think from looking at the link you sent, the way to make something like this work is

EACH Botton is infact MC, not a button… if you want animations to happen on roll-overs etc… you just tell the button to

on (press) {  
parent.gotoAndPlay (“farme label”);  
}

essentially, the “blank” Button instance (all you have is a hitstate) and the Animation appear within the same movie clip…

and so he has nested several MC (which appear as button) within the Overall MC…

thats the way i get around animated button’s.

cheers

Ket

---

<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 26, 2002, 5:06pm UTC](https://forum.kirupa.com/t/pleeeease-help/5944/3 "2002-09-26T17:06:10Z")

</div>

try have a look at this one. instead of placing a button in a button, I have made a movieclip an placed the button there. The MC has the following actions:

onClipEvent (enterFrame) {  
if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse, true)) {  
this.nextFrame();  
} else {  
this.prevFrame();  
}  
}

Is this what u r looking for?!

---

<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 26, 2002, 5:19pm UTC](https://forum.kirupa.com/t/pleeeease-help/5944/4 "2002-09-26T17:19:59Z")

</div>

Yes - although now with MX - you can use

on (rollover)

instead of

onClipEvent (enterFrame) {  
if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse, true)) {.

You can use button event handlers for movie clips. Although - there are some occasions when you may need to use the above method.

If you want a simple rollover animation - there’s no need to put a button in an mc.
