# Href and cursor bug

**URL:** <https://forum.kirupa.com/t/href-and-cursor-bug/317546>\
**Category:** Uncategorized\
**Created:** [December 24, 2010, 12:30am UTC](https://forum.kirupa.com/t/href-and-cursor-bug/317546 "2010-12-24T00:30:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [December 24, 2010, 12:30am UTC](https://forum.kirupa.com/t/href-and-cursor-bug/317546/1 "2010-12-24T00:30:04Z")

</div>

I have a dynamic multiline textfield inside a movieclip.  
on link click i want to disable the movieclip.  
the problem is if you click and dont move the mouse, cursor stays in button mode even if i say:  
mc.mouseChildren = false;  
mc.mouseEnabled = false;  
you have to move the mouse for cursor to change back to arrow, unless i manually force it to arrow, but then i have to restore it back to auto, and i cant restore it without the mouse move because it stays in button mode (again) until i move the mouse.

```auto
 
var s:String = "other <br/><br><a href='event:something'>click here</a><br/><br>contact ";
mc.txt.autoSize = "left";
mc.txt.width = 400;
mc.txt.htmlText = s;
mc.txt.addEventListener(TextEvent.LINK, onlink);
function onlink(e:TextEvent):void{
 mc.mouseChildren = false;
 mc.mouseEnabled = false;
 Mouse.cursor = "arrow"
}

```
