# Mouse Down effect in reverse

**URL:** https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984
**Category:** flash
**Created:** [April 23, 2003, 7:29am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984 "2003-04-23T07:29:15Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![miguelniralliv](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@miguelniralliv](https://forum.kirupa.com/u/miguelniralliv)
#### Post date: [April 23, 2003, 7:29am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/1 "2003-04-23T07:29:15Z")

</div>

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

---

<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: [April 23, 2003, 8:43am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/2 "2003-04-23T08:43:55Z")

</div>

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

---

<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: [April 23, 2003, 10:13am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/3 "2003-04-23T10:13:52Z")

</div>

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](http://www.copperssportsgrill.com)

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

---

<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: [April 23, 2003, 10:17am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/4 "2003-04-23T10:17:51Z")

</div>

Cool site Freddy

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

SteveD

---

<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: [April 23, 2003, 10:23am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/5 "2003-04-23T10:23:32Z")

</div>

Thanks man!!

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

---

<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: [April 23, 2003, 10:44am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/6 "2003-04-23T10:44:51Z")

</div>

hi,

a good example would be [http://www.eye4u.com](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. 🙂

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: [April 23, 2003, 10:56am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/7 "2003-04-23T10:56:56Z")

</div>

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

---

<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: [April 23, 2003, 11:08am UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/8 "2003-04-23T11:08:03Z")

</div>

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](http://www.kirupa.com/developer/flash5/advroll.htm)

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

---

<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: [April 23, 2003, 12:28pm UTC](https://forum.kirupa.com/t/mouse-down-effect-in-reverse/18984/9 "2003-04-23T12:28:54Z")

</div>

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