# Custom Cursor

**URL:** <https://forum.kirupa.com/t/custom-cursor/7251>\
**Category:** flash\
**Created:** [October 26, 2002, 7:27pm UTC](https://forum.kirupa.com/t/custom-cursor/7251 "2002-10-26T19:27:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deb](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@Deb](https://forum.kirupa.com/u/Deb)\
**Post date:** [October 26, 2002, 7:27pm UTC](https://forum.kirupa.com/t/custom-cursor/7251/1 "2002-10-26T19:27:04Z")

</div>

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);  
}

---

<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:** [October 26, 2002, 8:52pm UTC](https://forum.kirupa.com/t/custom-cursor/7251/2 "2002-10-26T20:52:46Z")

</div>

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.

---

<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:** [October 26, 2002, 8:55pm UTC](https://forum.kirupa.com/t/custom-cursor/7251/3 "2002-10-26T20:55:28Z")

</div>

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

---

<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:** [October 26, 2002, 9:02pm UTC](https://forum.kirupa.com/t/custom-cursor/7251/4 "2002-10-26T21:02:15Z")

</div>

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.

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

```

It goes like this…

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

---

<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:** [October 26, 2002, 9:10pm UTC](https://forum.kirupa.com/t/custom-cursor/7251/5 "2002-10-26T21:10:34Z")

</div>

Thanks That worked great!!!.

---

<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:** [October 26, 2002, 9:14pm UTC](https://forum.kirupa.com/t/custom-cursor/7251/6 "2002-10-26T21:14:35Z")

</div>

Great :beam:
