Thought this might be useful

here’s how to make a mouse cursor without using startDrag();

=)

make a new symbol that you want to be your cursor
put that symbol on the main stage / timeline in it’s own layer on frame one … then apply these actions to the symbol


onClipEvent (load) {
	Mouse.hide();
	_x = 0;
	_y = 0;
	speed = 1;
}
onClipEvent (enterFrame) {
	endX = _root._xmouse;
	endY = _root._ymouse;
	_x += (endX-_x)/speed;
	_y += (endY-_y)/speed;
}

thanks for the inspiration lostinbeta

does anyone know if there is a function to detect when a mouse is over a button so you can make your own lil hand thingy that the cursor normally shows when you’re over a button?

hope this helps someone=)

hey beta … why doesnt this work?


onClipEvent (mouseDown) {
	cursor.gotoAndStop(2);
}
onClipEvent (mouseUp) {
	cursor.gotoAndStop(1);
}

i have edited the mouse cursor to have two frames one labeled down and one labeled up … obviously corresponding to mouse states.

i put this code on the symbol … but it doesn’t do anything

figured it out!

i forgot as usual to put the _root infront of the cursor.gotoAndStop

=)