PDA

View Full Version : my own mouse curser



B3NKobe
August 16th, 2004, 07:52 AM
hi; i have made my own mouse curser for flash, it all works fine.
except if you right click on the page the normal windows mouse appears over the top of my flash mouse. and it doesnt go away unless u refresh the page.

i was just wondering if you could stop this?

my script for the mouse is...

onClipEvent (load) {
startDrag("", true);
Mouse.hide();
}

Cello
August 16th, 2004, 08:00 AM
Hi b3nkobe

A quick serach produced this: http://www.kirupaforum.com/forums/showthread.php?t=61673&highlight=mouse+cursor

Maybe it'll help :)

B3NKobe
August 16th, 2004, 08:03 AM
alright ill check it - thanx

B3NKobe
August 16th, 2004, 08:12 AM
its all working now - thanx mate!!

If anyone else is having the same problem heres the script:

onClipEvent (load) {
Mouse.hide();
startDrag("", true);
onMouseDown = function () {
// only detects left click
Mouse.hide();
};
this.onEnterFrame = function() {
//looks for and detects right click
if (Key.isDown(2)) {
Mouse.hide();
}
};
}

Cello
August 16th, 2004, 08:20 AM
glad it helped :)