PDA

View Full Version : mc mouse pointer & right click??


Babaloo
02-22-2007, 12:48 AM
hey all,
I've made a custom pointer, but if I right-click on the swf the default pointer shows up again, on top of my custom-made. Way toooo ugly!!! :eek:

my script:

_root.attachMovie("pointer","pontero",220);
Mouse.hide();
pontero.onEnterFrame = function()
{
pontero._x = _root._xmouse;
pontero._y = _root._ymouse;
Stage.showMenu = false;//hide menu
updateAfterEvent();
};

Anyway to get around this?

thanks!

Babaloo
02-22-2007, 12:51 AM
problem solved!!! :)

A simple line makes all the difference:

_root.attachMovie("pointer","pontero",220);
Mouse.hide();
pontero.onEnterFrame = function()
{
pontero._x = _root._xmouse;
pontero._y = _root._ymouse;
Stage.showMenu = false;//hide menu
Mouse.hide(); // PROBLEM SOLVED HERE =)
updateAfterEvent();
};