# eventListeners

**URL:** <https://forum.kirupa.com/t/eventlisteners/284304>\
**Category:** Uncategorized\
**Created:** [March 17, 2009, 8:19pm UTC](https://forum.kirupa.com/t/eventlisteners/284304 "2009-03-17T20:19:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolinwilliams](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@coolinwilliams](https://forum.kirupa.com/u/coolinwilliams)\
**Post date:** [March 17, 2009, 8:19pm UTC](https://forum.kirupa.com/t/eventlisteners/284304/1 "2009-03-17T20:19:29Z")

</div>

Heres what im working with;

scrolling movieclip that consists of 12 individual movieclips that all have instance names. I’m trying to link these movieclips to events that needs to happen on the main timeline.

lost1\_mc.addEventListener(MouseEvent.CLICK, scroll30);  
function scroll30(event:MouseEvent): void

{  
gotoAndPlay(“lost\_mc”);  
}
