# Custom mouse problem

**URL:** <https://forum.kirupa.com/t/custom-mouse-problem/42264>\
**Category:** Uncategorized\
**Created:** [February 7, 2004, 12:14am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264 "2004-02-07T00:14:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![DizainLand](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@DizainLand](https://forum.kirupa.com/u/DizainLand)\
**Post date:** [February 7, 2004, 12:14am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/1 "2004-02-07T00:14:19Z")

</div>

Hi everybody,  
I have a very question for (PROS) 🙂  
i made custom mouse, i followed the tutorial in the help of flash mx, and i did it 🙂

but

the default mouse appears when i right click to show the menu.

thanks for your help 🙂

---

<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:** [February 7, 2004, 12:17am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/2 "2004-02-07T00:17:23Z")

</div>

Uhmm… I don’t think there’s a way to stop this from happening. Sorry. :-/

---

<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:** [February 7, 2004, 12:31am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/3 "2004-02-07T00:31:50Z")

</div>

hi kode :), thanks for your help

so i have to stop using it?  
the problem is:  
i am putting a movie clip lets say (a car move from right to left)  
i put the movie on the stage and gave it an instance name (car) and i put over it a inv button to control the movie (car)  
when the mouse over tell the (car) play, and so on.

it works great, but when i right click the hand appears, this is very bad ☹

can you gave advice on this 🙂

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:** [February 7, 2004, 12:57am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/4 "2004-02-07T00:57:52Z")

</div>

Well, you could hide the mouse again as soon as the user clicks on the movie. Something like this should work:

```auto
var obj = {onMouseDown:Mouse.hide};
Mouse.addListener(obj);
Mouse.hide();

```

…And I get an error when I try to open your FLA, by the way. 😛

---

<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:** [February 7, 2004, 1:02am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/5 "2004-02-07T01:02:12Z")

</div>

thank u again 🙂  
but, do i have to attach this code for the button?  
thank you again

---

<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:** [February 7, 2004, 1:05am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/6 "2004-02-07T01:05:52Z")

</div>

No, put the code in the frame actions (preferably on the first frame of the movie). 🙂

---

<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:** [February 7, 2004, 1:09am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/7 "2004-02-07T01:09:32Z")

</div>

You are great my friend 🙂  
it works  
thanks alot 🙂

---

<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:** [February 7, 2004, 1:10am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/8 "2004-02-07T01:10:28Z")

</div>

You’re welcome, Dizain. 😉

---

<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:** [February 7, 2004, 1:11am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/9 "2004-02-07T01:11:30Z")

</div>

By the way  
the word (((…Think again!)))  
is great, but i can not think in AS  
because i am not programmer ☹  
i hope i will learn it soon

---

<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:** [February 7, 2004, 1:22am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/10 "2004-02-07T01:22:56Z")

</div>

I hope so too, you just have to be patient; go through the tutorials on this and other sites, analyze other people’s code (there are a lot of flashers out there that provide their source files) until you actually understand it, search the forums, etc. Good luck! 🙂

…And I was wrong, you can also hide the mouse while the menu is visible:

```auto
this.onEnterFrame = function() {
if (Key.isDown(2)) {
Mouse.hide();
}
};

```

…Kind of funny, huh? 😛

---

<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:** [February 7, 2004, 1:26am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/11 "2004-02-07T01:26:52Z")

</div>

thanks for your advaise 🙂  
i will try and try  
thanks again and again

---

<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:** [February 7, 2004, 1:30am UTC](https://forum.kirupa.com/t/custom-mouse-problem/42264/12 "2004-02-07T01:30:49Z")

</div>

Oh! I forgot something… if you get stuck, all you have to do is ask; more than likely someone will help you out. 😉

And no problem, glad I could help. 😛
