# Question about Easing with mouse tutorial

**URL:** <https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982>\
**Category:** flash\
**Created:** [October 21, 2002, 2:51pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982 "2002-10-21T14:51:02Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guig0](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@Guig0](https://forum.kirupa.com/u/Guig0)\
**Post date:** [October 21, 2002, 2:51pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/1 "2002-10-21T14:51:02Z")

</div>

Hi (greetings from Bras(z)il),

This is my first post here.  
I have learned a great deal here in Kirupa´s pages and I think that the tutorials here are the best!

I have been reading the [Easing with mouse Tutorial](http://www.kirupa.com/developer/mx/followease.asp) , and it is great.

And I think to myself, hey what if I make a menu that follows the mouse?

So I tryed to do that, a hidden menu with only the word “menu” following the mouse, and when it touches the mouse the menu pops open.  
So far so good, but when you move the mouse to click on a menu option the menu keeps moving to follow the mouse.

How can I make the menu stop when the mouse is over and follow when it is out?

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:** [October 21, 2002, 4:55pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/2 "2002-10-21T16:55:42Z")

</div>

Can you post an example .fla as an attachment so I can 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:** [October 21, 2002, 6:20pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/3 "2002-10-21T18:20:29Z")

</div>

Here it is.

This is what I want to look like, I get this far using a lot of things that (I´m sure) wasn´t needed. I have created this tread in search for a easy and less cpu demanding solution.

Take a look at it and you gona see the mess that I´m talking about.

(esxcuse the MCs instances names in portuguese)

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:** [October 21, 2002, 6:29pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/4 "2002-10-21T18:29:51Z")

</div>

It works fine for me, except if you move the mouse real fast over the links and go off the other side.

I will see if I can come up with a solution. I am working on something else right now so I will see what I can do later.

---

<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:** [October 21, 2002, 6:42pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/5 "2002-10-21T18:42:04Z")

</div>

No hurry.

Thanks for your time!

---

<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:** [October 21, 2002, 9:51pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/6 "2002-10-21T21:51:53Z")

</div>

i was thinking stop drag…but that didnt work

---

<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:** [October 22, 2002, 12:27pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/7 "2002-10-22T12:27:41Z")

</div>

No it wouldn´t.

Cause there isn´t any startdrag commands.

---

<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:** [October 22, 2002, 2:01pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/8 "2002-10-22T14:01:06Z")

</div>

Dynamic event handlers are the key… if you’re using Flash MX… Are you?

pom :cowboy:

---

<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:** [October 22, 2002, 2:45pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/9 "2002-10-22T14:45:22Z")

</div>

Yes. I am using:

onClipEvent (load), and onClipEvent (enterFrame).

Here is a updated version, again I have to say that it is working, but I have to create a lot of junk and other objects to get to that point. What I´m sure could be avoided whith a better Action Script.

Take a look at it

---

<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:** [October 22, 2002, 4:13pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/10 "2002-10-22T16:13:48Z")

</div>

You’re code is a bit messy :-\ I can’t find the AS where you tell your menu to appear…

pom :cowboy:

---

<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:** [October 22, 2002, 4:47pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/11 "2002-10-22T16:47:27Z")

</div>

Yeah, it took me a while to find it, I just went through the library because I couldn’t find the clip in the movie clips.

Anywho… I developed one way of doing it since for some reason I couldn’t get the rollOut way to work… probably some stupid mistake that I am overlooking or something.

My other method is by having a close menu buttons. You can check my attachment to 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:** [October 22, 2002, 8:34pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/12 "2002-10-22T20:34:55Z")

</div>

Lostinbeta,

Although your version works fine, the close menu button kindaof clash with the look of what I was intended to do. If you download the second verssion that I posted you will see what I mean.

Never the less, I apreciate your help.

Thanks a lot!

And Pom:

No dude, my code isn´t messy. You just have to see it through a (Dumb-Newbie to Advanced-User)Translator that people always tell me that they have to use to understand my scripts, but I don´t know why. Maybe you can tell me.:crazy: :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:** [October 22, 2002, 8:42pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/13 "2002-10-22T20:42:54Z")

</div>

Ok, well I might try something later, but I have to work on something else now.

BTW… It looks to me like you have a lot of unneccesary movie clips, but I didnt scope that much.

---

<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:** [October 22, 2002, 8:47pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/14 "2002-10-22T20:47:59Z")

</div>

A lot of MCs???:crazy:

You got that right!🙂

I have to do that mess that Pom was talking about to compesate my poor scripting abilities.

---

<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:** [October 22, 2002, 8:48pm UTC](https://forum.kirupa.com/t/question-about-easing-with-mouse-tutorial/6982/15 "2002-10-22T20:48:53Z")

</div>

BTW is by the way?
