# Another way to do the function over()

**URL:** <https://forum.kirupa.com/t/another-way-to-do-the-function-over/194541>\
**Category:** flash\
**Created:** [July 24, 2006, 2:24pm UTC](https://forum.kirupa.com/t/another-way-to-do-the-function-over/194541 "2006-07-24T14:24:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Multi\_Task](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Post date:** [July 24, 2006, 2:24pm UTC](https://forum.kirupa.com/t/another-way-to-do-the-function-over/194541/1 "2006-07-24T14:24:45Z")

</div>

I am trying to have a MC be automated so that on RollOver and RollOut it will slide in, however I would like to also have some buttons within this MC and it seems once I add the AS the buttons within the MC no longer function. Is there another way to do this where a tab will slide in with buttons when the tab is hit by mouse?

My code on main time line is:

```auto

[LEFT]soundtab.onRollOver = over;
soundtab.onRollOut = out;

function over() {
 this.gotoAndPlay(2);
}
function out() {
 this.gotoAndPlay(15);
}[/LEFT]

```

When I add this handler it dis allows buttons within that movie clip. Any ideas help thanks  
MT
