# Probably an easy fix.....movie clip btns

**URL:** <https://forum.kirupa.com/t/probably-an-easy-fix-movie-clip-btns/224372>\
**Category:** Uncategorized\
**Created:** [May 1, 2007, 9:30pm UTC](https://forum.kirupa.com/t/probably-an-easy-fix-movie-clip-btns/224372 "2007-05-01T21:30:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![htrain26](https://avatars.discourse-cdn.com/v4/letter/h/d07c76/32.png) [@htrain26](https://forum.kirupa.com/u/htrain26)\
**Post date:** [May 1, 2007, 9:30pm UTC](https://forum.kirupa.com/t/probably-an-easy-fix-movie-clip-btns/224372/1 "2007-05-01T21:30:50Z")

</div>

hey there all,  
I have a movie clip that has a few layers and a button on one of the layers. on the button I have this code:  
on(rollOver){  
gotoAndPlay(“over”);  
}  
on(rollOut){  
gotoAndPlay(“out”);  
}

Now, this mc is on the Main timeline and has an istance name “home\_btn”. I have a sliding menu type navagation going on and have some code for the “home\_btn” on the main timeline:  
home\_btn.onRelease = function(){  
menuSlide(contentHold.content1);  
}

WHen I try to use the code on the maintime line and the code on the button inside the mc–it ofcourse doesn’t work.  
How can I reference the rollover/out actions on the inside of the mc from the main timeline?  
Or, is there an easy away around this?

thanks,  
h
