This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > August 2006 > Launch an animation when I leave the button





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Launch an animation when I leave the button
Liquidsilk

2006-08-02, 10:45 am

Hi everyone,

I need to lauch an animation when I quit a button.
I know how to do it (by transfoming the button on clip on the "On state") when
I pass on thebutton.
But I need to do it when the pointer leave the button zone.
Thank for your help.

PS: Sorry for my english; french user.

In French

Bonjour,
j'ai besoin de lancer une animation lorsque mon pointeur quitte la zone bouton.
Je sais comment le faire lorsque je passe le pointer sur le bouton en
transformant l'image boutton "dessus" en clip,
mais j'ai besoin de reproduire cette action lorsque je sors de la zone bouton.

Merci pour votre aide.

-Liquid-

derobinson

2006-08-02, 10:45 am

Are you trying to animate the button itself on the roll out? or are you trying
to trigger a different animation? You may have to swap the button out with a
new animation. The code to make something happen on roll out would look
something like this:

myButton.onRollOut = function() {
//start the new animation here
}

Hope that helps!


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews