# Cursor

**URL:** <https://forum.kirupa.com/t/cursor/34646>\
**Category:** Uncategorized\
**Created:** [November 4, 2003, 9:19pm UTC](https://forum.kirupa.com/t/cursor/34646 "2003-11-04T21:19:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmpk](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@gmpk](https://forum.kirupa.com/u/gmpk)\
**Post date:** [November 4, 2003, 9:19pm UTC](https://forum.kirupa.com/t/cursor/34646/1 "2003-11-04T21:19:36Z")

</div>

How do I make a cursor on a flash animation so only the cursor apears and not the regualr cursor?🙂

---

<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:** [November 5, 2003, 12:10am UTC](https://forum.kirupa.com/t/cursor/34646/2 "2003-11-05T00:10:33Z")

</div>

I assume you’re talking about a custom cursor, if so then take a look at this tutorial.

[http://www.kirupa.com/developer/flash5/globalmousecursor.htm](http://www.kirupa.com/developer/flash5/globalmousecursor.htm)

Also run a search for “custom cursor” for additional threads on the subject.

---

<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:** [November 5, 2003, 10:20pm UTC](https://forum.kirupa.com/t/cursor/34646/3 "2003-11-05T22:20:47Z")

</div>

Ok so hee is how to do it make a animation or cursor and make it movie clip after that make its instance name cursor for example then hit f9 or open actions menu and write this script for the movie  
startDrag ("\_root.cursor", true);  
Mouse.hide();  
("\_root.\<b\>cursor\</b\> is that instance name !!!  
Mouse.hide(); hides your mousecursor so only your cursor works

or you can just make the animation follow the mouse doing the same but writing this code  
startDrag("\_root.cursor", 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:** [November 8, 2003, 8:24pm UTC](https://forum.kirupa.com/t/cursor/34646/4 "2003-11-08T20:24:34Z")

</div>

Hey electrongeek, thanks but will it make a difference if its flashmx or flash5?

---

<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:** [November 8, 2003, 8:41pm UTC](https://forum.kirupa.com/t/cursor/34646/5 "2003-11-08T20:41:10Z")

</div>

Well, since the AS is the same, then i think you can use it in 5. But try it out…

---

<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:** [November 8, 2003, 9:36pm UTC](https://forum.kirupa.com/t/cursor/34646/6 "2003-11-08T21:36:51Z")

</div>

be careful about creating your own cursors though, people on the web hate to have their cursors changed w/o warning (especially if it’s a weird, ugly-looking one =))

---

<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:** [November 9, 2003, 1:26am UTC](https://forum.kirupa.com/t/cursor/34646/7 "2003-11-09T01:26:14Z")

</div>

If you want to be able to drag other items on your site and maintain the custom cursor use something like this on the cursor movieclip itself

[AS]  
onClipEvent(load){  
Mouse.hide();  
}  
onClipEvent(enterFrame){  
this.\_x = \_root.\_xmouse;  
this.\_y = \_root.\_ymouse;  
}  
[/AS]  
It will free up the drag handler  
Just another way to accomplish the same thing  
Good Luck,  
Shawn

---

<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:** [November 9, 2003, 9:22am UTC](https://forum.kirupa.com/t/cursor/34646/8 "2003-11-09T09:22:03Z")

</div>

```auto

onClipEvent(load){
        Mouse.hide();
}
onClipEvent(mouseMove){
        this._x = _root._xmouse;
        this._y = _root._ymouse;
}

```

😉
