# Flash 8 - OnRollOver on nested MovieClips

**URL:** <https://forum.kirupa.com/t/flash-8-onrollover-on-nested-movieclips/263937>\
**Category:** flash\
**Created:** [June 20, 2008, 5:29pm UTC](https://forum.kirupa.com/t/flash-8-onrollover-on-nested-movieclips/263937 "2008-06-20T17:29:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thosecars82](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@thosecars82](https://forum.kirupa.com/u/thosecars82)\
**Post date:** [June 20, 2008, 5:29pm UTC](https://forum.kirupa.com/t/flash-8-onrollover-on-nested-movieclips/263937/1 "2008-06-20T17:29:11Z")

</div>

Hello there  
I am using Flash 8 and have this problem.  
I have a movieclip image called X. Moreover I have another movieclip called Y inside of X. Y covers just part of the total area of X. Both X and Y have defined the onRollOver funtion. The behaviour should be like this: when I put the mouse over X, then the X animation starts and when it ends it shows the movieclip Y in its last frame in which it stops. Now, if I don’t get the mouse out of the area covered by X and furthermore, I put the mouse over the area covered by Y, I was expecting that the onRollOver function in Y was called. Nevertheless, Y is not called.  
Does anyone how to fix this?  
Thanks.

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 20, 2008, 8:51pm UTC](https://forum.kirupa.com/t/flash-8-onrollover-on-nested-movieclips/263937/2 "2008-06-20T20:51:49Z")

</div>

buttons inside buttons don’t work.

you would have to define an area, that when the mouse goes into, it activates x, then then x finishs Y is a button.

if you follow me
