Custom mouse problem

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

but

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

thanks for your help :slight_smile:

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

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 :frowning:

can you gave advice on this :slight_smile:

thanks

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

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. :stuck_out_tongue:

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

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

You are great my friend :slight_smile:
it works
thanks alot :slight_smile:

You’re welcome, Dizain. :wink:

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

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! :slight_smile:

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

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

…Kind of funny, huh? :stuck_out_tongue:

thanks for your advaise :slight_smile:
i will try and try
thanks again and again

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

And no problem, glad I could help. :stuck_out_tongue: