# MouseEvent.MOUSE\_OVER HELP!

**URL:** <https://forum.kirupa.com/t/mouseevent-mouse-over-help/244015>\
**Category:** Uncategorized\
**Created:** [November 13, 2007, 4:20pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-over-help/244015 "2007-11-13T16:20:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boomStick](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@boomStick](https://forum.kirupa.com/u/boomStick)\
**Post date:** [November 13, 2007, 4:20pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-over-help/244015/1 "2007-11-13T16:20:23Z")

</div>

Hey this is my first post in a forum ever, and I don’t know if I will post this question right, but I am working on a simple menu system in AS3 that consists of some movie clips to move when moused over.

But when I run my code I get an error that I don’t understand

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

This is my code that I am using, could anyone enlighten me as to what this error means? :h:

```auto
package {
    import flash.display.*;
    import flash.events.*;
    
    public class blueBox extends MovieClip{

        public function blueBox () {
            blueBox.addEventListener(MouseEvent.MOUSE_OVER, menuMove);
        }
        
        public function menuMove (event:MouseEvent):void {
            this.x++;
        }
    }
}

```

- Confused???
- boomStick
