
Originally Posted by
BLiZZaRD
Just use this instead:
Code:
Mouse.hide();
_root.onMouseUp = function(){Mouse.hide()};
Now, technically you can just use:
All works well, but if the user right-clicks it will bring up the Flash menu, and the cursor will appear and stay there. by making a mouse up function it will hide it again.
Also note your code is turning off the handCursor, which is not am implimented state of Flash, meaning the cursor will default to the OS items for Mouse behavior. Those people that have novelty cursors will see those instead of the hand finger, etc. The only way to combat that is to declare your own cursors, in which you would hide the normal cursors with the above code, and then add your own.
If you haven't done that in your movie, then there is no handCursor to hide.
Hey Blizzard I wasn't clear on my post
I wanted to stop the hand from showing up... I got it to work finally but was hoping someone could explaing to me why the second code works but the first doesn't... Technically aren't they both the same?
Hmmm got it to work guys but I still don't get it! Hopefully one of you can shed some light... I changed
Code:
this.onRollover = function()
{
cover.useHandCursor=false;
}
}
to
Code:
this.onRollover = function()
{
this.useHandCursor=false;
}
}
But shouldn't both work???
Bookmarks