# Mouse.hide(); problems

**URL:** <https://forum.kirupa.com/t/mouse-hide-problems/304973>\
**Category:** flash\
**Created:** [February 17, 2010, 1:27pm UTC](https://forum.kirupa.com/t/mouse-hide-problems/304973 "2010-02-17T13:27:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emma87](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@emma87](https://forum.kirupa.com/u/emma87)\
**Post date:** [February 17, 2010, 1:27pm UTC](https://forum.kirupa.com/t/mouse-hide-problems/304973/1 "2010-02-17T13:27:34Z")

</div>

Hi, i am getting the following error when i try and use Mouse.hide();

1061: Call to a possibly undefined method hide through a reference with static type Class.

I have imported mouse using, import flash.ui.Mouse; and it is being used in the following function:

private function mouseOverHandler(event:MouseEvent):void {  
Mouse.hide();  
child.addEventListener(MouseEvent.MOUSE\_MOVE, mouseMoveHandler);  
}

Any ideas why it won’t accept the statement would be appreciated  
Thanks
