Pleeeease help

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

Any help would be great

cheers

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

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

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?!

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.