# Mouse cursors get choppy

**URL:** <https://forum.kirupa.com/t/mouse-cursors-get-choppy/19230>\
**Category:** Uncategorized\
**Created:** [April 25, 2003, 3:17pm UTC](https://forum.kirupa.com/t/mouse-cursors-get-choppy/19230 "2003-04-25T15:17:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nok](https://avatars.discourse-cdn.com/v4/letter/n/8c91f0/32.png) [@nok](https://forum.kirupa.com/u/nok)\
**Post date:** [April 25, 2003, 3:17pm UTC](https://forum.kirupa.com/t/mouse-cursors-get-choppy/19230/1 "2003-04-25T15:17:11Z")

</div>

In my Flash movie, when the user moves the mouse the alpha of a movie clip changes. At the same time I have changed the mouse cursor. The problem is that when the the alpha is being adjusted the cursor movements get really choppy. Here’s the code that I have on the movie’s first frame:  
function cursorUpdate () {  
\_root.cursor.\_x = \_xmouse;  
\_root.cursor.\_y = \_ymouse;  
updateAfterEvent(mouseMove);  
}

And here’s the code on the cursor MC:  
onClipEvent (load) {  
Mouse.hide();  
this.swapDepths(100);  
}  
onClipEvent (mouseMove) {  
\_root.cursorUpdate();  
}

If anyone’s got any suggestions, do tell! 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:** [April 25, 2003, 3:22pm UTC](https://forum.kirupa.com/t/mouse-cursors-get-choppy/19230/2 "2003-04-25T15:22:32Z")

</div>

its just that Flash cant keep up. You will either need to optimize or just deal with it :-\
