# On clipEvent with movie clip....help

**URL:** <https://forum.kirupa.com/t/on-clipevent-with-movie-clip-help/222315>\
**Category:** Uncategorized\
**Created:** [April 12, 2007, 2:29pm UTC](https://forum.kirupa.com/t/on-clipevent-with-movie-clip-help/222315 "2007-04-12T14:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fileslasher](https://avatars.discourse-cdn.com/v4/letter/f/4da419/32.png) [@fileslasher](https://forum.kirupa.com/u/fileslasher)\
**Post date:** [April 12, 2007, 2:29pm UTC](https://forum.kirupa.com/t/on-clipevent-with-movie-clip-help/222315/1 "2007-04-12T14:29:14Z")

</div>

Hey, I have a movie clip that has its own timeline animation. When the mouse is clicked on the movie clip, the animation starts and then is removed. So, I can do this easily when the movie clip is dragged on the stage, I click on it and add the on clipEvent(mouseDown) script.  
But when the movie plays, I need to have the mc generate on screen a bunch of times. When its in the library, it doesnt have the on clipEvent(mouseDown) script and I cant figure out how to add the script to the mc in edit mode when its in the library, I keep getting errors.  
Any ideas?
