Custom cursor question/problem

Hi folks,

Found Edwin’s custom cursor script. It’s much less jerky than the one MM has in their help files.

However, it’s not working quite how I would like. Here is the site I am using it on:

www.cardboardvampyres.com

as you can see, the cursor moves smoothly and works well. However, when you roll outside of the bounds of the window (say to click on the “next” button on one of the gallery images), you get two cursors. That’s no good. So what I am thinking is that I would like to have it so that the custom cursor only activates when someone rolls over one of the buttons, and the rest of the time it’s just the regular hand.

Does anyone know how to accomplish this?

Thanks,

Dean H.

as you can see, the cursor moves smoothly and works well. However, when you roll outside of the bounds of the window (say to click on the “next” button on one of the gallery images), you get two cursors. That’s no good. So what I am thinking is that I would like to have it so that the custom cursor only activates when someone rolls over one of the buttons, and the rest of the time it’s just the regular hand.

There is a solution, just make the whole page a flash page. Then you won’t get the two cursors coming out at the same time. :smiley:

Yeah, I’d rather not do that. I want to share some of the components like the border, mailing list, and gallery between the Flash and Non-Flash version of the site.

Anyone else?

Well, assuming you change the “Next” and “previous” buttons, you could just do this.


on (rollOver) {
        Mouse.hide();
        handMC.startDrag(true);
        handMC._alpha = 100;
}
on (rollOut) {
	Mouse.show();
	stopDrag();
	handMC._alpha = 0;
}

And just make the handMC have an alpha of 0 on the mainstage, and that should work.

Thanks. That works great as long as the buttons are in the main movie and not in a seperate movie clip. But I’ll play around with it until I get it to work exactly right.

Thanks again!