Mouse Down effect in reverse

Hi,

I want to create a button were the effect of the mouse down is like the effect of the mouse over, but in reverse. I tried it but it doesnt work right. What i did was create two movie clips, one for mouse over and one for mouse down. It only works if you click it but idont want it that way. Please help.

Thanks.

Miguel

Hi Miguel,
Not sure I understand your post - are you saying that when the user clicks on the button, you want the button **up ** imgae to appear ?

Cheers

SteveD

I’m not sure what you want either, but, if you are talking about a rollOver effect (so your reverse animation will work when the cursor leaves the button, but not clicking), check out one of my sites:

http://www.copperssportsgrill.com

Look at the calender on the bottom left, is that what you are trying to do?

Cool site Freddy

I think that what miguel wants - until he answers can’t be sure tho’

SteveD

Thanks man!!

I just put that up a week ago for a bar in North Phoenix. I’m glad you like it!
:beam:

hi,

a good example would be http://www.eye4u.com . try to mouse over their link. When you let your mouse away from the button(or mouse down, i dont know the right term), the buttons rearranges itself again from the original position. i did this already but u have to press it to reverse the movie, what all i want was to stay away from the button and the MC i did will show. i hope this helps. :slight_smile:

thanks

Hi,
Do you mean the enter site button, thats just a roolOver rollOut action, do you want it to go back to the up state its original pos) on mouseDown ?

SteveD

I got it. I know what you mean. When you enter the site, it has an effect on the menu options. The way I would do it is this:
I would have an area in the first frames that would be your home area. (Before any animation). When you rollOver, it plays the first animation and then hits a stop();. when you rollOut, it plays the other animation until it hits another stop();. The way that it works in my head is a lot of animation and actions like:
[AS]
on(rollOver){
_root.movieClip.gotoAndPlay(2);
}
on(rollOut){
_root.movieClip.gotoAndPlay(secondAnimation);
}
[/AS]
It’s kinda hard to explain. I used this tut to learn it for myself. It’s flash 5 and uses tellTarget, which is now used with dot syntax (like above).
http://www.kirupa.com/developer/flash5/advroll.htm

Good luck in your endevours. Post your more direct q’s if needed.

ok. next time i will be more direct on my q’s :wink: thanks Freddythunder, i owe you :slight_smile: and also to all you guys who responded, thanks a lot.