Custom Cursor

I created a custom cursor in Flash MX & the problem I am having is when you go in any direction to the ends of the sides the cursor cuts off. Does anyone know of a way to fix that. Listed below is the code that I am using.

Spirit Beanies click

Any help would be appreciated.

Thanks

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

I am not sure I understand your problem.

If you go off the side of the Flash movie, of course your cursor will cut off.

Sorry if I wasn’t clear. I want the cursor not to get cutoff in the movie. I was hoping there is away to control it.

Thanks

Assuming you mean so that your cursor doesn’t go halfway off the screen when you are towards the edge, the only suggestion that I have for that (I don’t know another way, but someone else might), is to constrain your drag to a rectangle.

onClipEvent (load) {
	Mouse.hide();
	startDrag(this, true, 200, 200, 400, 400);
}

It goes like this…

startDrag(clip, attachCenter, Leftlimit, Toplimit, Rightlimit, Bottomlimit)

Thanks That worked great!!!.

Great :beam: