# No mouse events in MainTimeline -- why?

**URL:** <https://forum.kirupa.com/t/no-mouse-events-in-maintimeline-why/282998>\
**Category:** Uncategorized\
**Created:** [March 1, 2009, 5:43am UTC](https://forum.kirupa.com/t/no-mouse-events-in-maintimeline-why/282998 "2009-03-01T05:43:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![javadesigner](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@javadesigner](https://forum.kirupa.com/u/javadesigner)\
**Post date:** [March 1, 2009, 5:43am UTC](https://forum.kirupa.com/t/no-mouse-events-in-maintimeline-why/282998/1 "2009-03-01T05:43:35Z")

</div>

Hi:

I am new to AS3 and I am going insane trying to figure this out. I have a blank (new) AS3 document, 200pixels x 200 pixels, with one (the first) frame.

## I add this code to this first frame:

## trace(this + ", is a movie clip: " + (this is MovieClip)); addEventListener(MouseEvent.MOUSE\_MOVE, movef); function movef(e) { trace(e); }

No matter how much I move my mouse, the function is NOT invoked and NO event trace message is seen.

However, I do see this:  
_[object **MainTimeline**], is a movie clip: true_

Now I know, there is sample code, that _creates and attaches a new movie clip_ (via new MovieClip(), addChild)…BUT that is **NOT** the question I am asking or the solution I am seeking.

My question is this:  
Since the main document ( **MainTimeline** ) is itself a movie clip (and a child of stage), **why does it NOT dispatch any mouse events**?

I have looked far and wide for an answer to this, and have found nothing that answers this, either at adobe or elsewhere. Ⓜ
