# Cannot seem to cover mc.onRollOver with another mc?

**URL:** https://forum.kirupa.com/t/cannot-seem-to-cover-mc-onrollover-with-another-mc/144246
**Category:** Uncategorized
**Created:** [April 12, 2005, 8:26pm UTC](https://forum.kirupa.com/t/cannot-seem-to-cover-mc-onrollover-with-another-mc/144246 "2005-04-12T20:26:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![trock](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@trock](https://forum.kirupa.com/u/trock)
#### Post date: [April 12, 2005, 8:26pm UTC](https://forum.kirupa.com/t/cannot-seem-to-cover-mc-onrollover-with-another-mc/144246/1 "2005-04-12T20:26:55Z")

</div>

Hello…

I have built an onRollOver event handler on a movie clip called test:

test.onRollOver = function(){  
this.gotoAndStop(2);  
}

This works fine, but if I put another movieclip on top of the test clip, the test clip’s onRollOver area is still hot? Is this just the way it goes? Does anybody know how I can remedy the problem?

I have attached a very simple fla with my files. In it, you will see two squares (one on top of another). The one on the bottom has the rollover effect. If I happen to be in its area but over the other clip, the bottom clip is still active. Like my top mc is “transparent”.

I assume I could assign an onRollOver event handler to the top clip that does nothing, but this doesnt seem like a very elegant solution.

Thanks.
