# Custom cursor question/problem

**URL:** https://forum.kirupa.com/t/custom-cursor-question-problem/57617
**Category:** flash
**Created:** [July 14, 2004, 6:43pm UTC](https://forum.kirupa.com/t/custom-cursor-question-problem/57617 "2004-07-14T18:43:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tactics](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@tactics](https://forum.kirupa.com/u/tactics)
#### Post date: [July 14, 2004, 6:43pm UTC](https://forum.kirupa.com/t/custom-cursor-question-problem/57617/1 "2004-07-14T18:43:54Z")

</div>

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](http://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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 14, 2004, 10:46pm UTC](https://forum.kirupa.com/t/custom-cursor-question-problem/57617/2 "2004-07-14T22:46:10Z")

</div>

> 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. 😃

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 15, 2004, 1:40am UTC](https://forum.kirupa.com/t/custom-cursor-question-problem/57617/3 "2004-07-15T01:40:36Z")

</div>

> [@Michael Chen](#):
>
> 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. 😃

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?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 15, 2004, 2:34am UTC](https://forum.kirupa.com/t/custom-cursor-question-problem/57617/4 "2004-07-15T02:34:16Z")

</div>

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

```auto

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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 15, 2004, 6:46pm UTC](https://forum.kirupa.com/t/custom-cursor-question-problem/57617/5 "2004-07-15T18:46:02Z")

</div>

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!
