# Event Listener only on MovieClip

**URL:** <https://forum.kirupa.com/t/event-listener-only-on-movieclip/312435>\
**Category:** flash\
**Created:** [August 3, 2010, 12:57pm UTC](https://forum.kirupa.com/t/event-listener-only-on-movieclip/312435 "2010-08-03T12:57:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LS05](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@LS05](https://forum.kirupa.com/u/LS05)\
**Post date:** [August 3, 2010, 12:57pm UTC](https://forum.kirupa.com/t/event-listener-only-on-movieclip/312435/1 "2010-08-03T12:57:51Z")

</div>

Hi guys,  
I’ve an array of movieclips created via code that have some textfields. Then i have added some listeners to the movieclips.

Here the code:

```auto

arrNot*.addEventListener(MouseEvent.MOUSE_OVER, titoloOver);
private function titoloOver(e:MouseEvent){
        var nome:String = e.target.name;
	TweenMax.to(curs,1 ,{y:contMain.getChildByName(nome).y + 23});
}

```

This code moves a cursor calculating the y coordinate depending the moviclip that is mouse overed.  
Now the movieclips have some textfields so when i mouseover the movieclips all works ok but when i mouseover the textfield i receive a #1009 error.  
Hoe can i do?
