# Movieclip triggered when not clicked on

**URL:** https://forum.kirupa.com/t/movieclip-triggered-when-not-clicked-on/189649
**Category:** Uncategorized
**Created:** [June 5, 2006, 12:03am UTC](https://forum.kirupa.com/t/movieclip-triggered-when-not-clicked-on/189649 "2006-06-05T00:03:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kredd](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@kredd](https://forum.kirupa.com/u/kredd)
#### Post date: [June 5, 2006, 12:03am UTC](https://forum.kirupa.com/t/movieclip-triggered-when-not-clicked-on/189649/1 "2006-06-05T00:03:01Z")

</div>

hello all, i’ve been using flash off and on for years now so i feel kinda dumb for asking about such a basic concept but…

i’ve built a flash player that has a play/stop button that is a movieClip with 4 frames in it. my problem is that the event handlers on the MC fire regardless of where i click. am i horribly losing my mind or shouldn’t you have to click the actual movieClip in order for it to fire?

the more i think about this i’m starting to remember having to actually put buttons in the MC to control this…does that sound right to anyone?

```auto
 
onClipEvent (EnterFrame) {
 _root.playxx.stop();
}
onClipEvent (mouseDown) {
 _root.playxx.gotoAndStop(_root.playxx._currentframe+1);
}
onClipEvent (mouseUp) {
 if (_root.playxx._currentframe == 2){
 _root.playxx.gotoAndStop(_root.playxx._currentframe+1);
} else {
 _root.playxx.gotoAndStop(1);
}
} 

```

thanks!
