# Question on friday night

**URL:** <https://forum.kirupa.com/t/question-on-friday-night/190300>\
**Category:** Uncategorized\
**Created:** [June 10, 2006, 5:38am UTC](https://forum.kirupa.com/t/question-on-friday-night/190300 "2006-06-10T05:38:24Z")\
**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:** [June 10, 2006, 5:38am UTC](https://forum.kirupa.com/t/question-on-friday-night/190300/1 "2006-06-10T05:38:24Z")

</div>

Within my main movie I have a movie clip that holds three 3 buttons that are made with movie clips.

The movie clip that holds these 3 is called buttons\_mc

The 3 button movie clips are b1\_mc, b2\_mc and b3\_mc within that mc.

Within the buttons\_mc are two layers one for the buttons and one for the action script that has the following code:

b1.onRollOver = over;  
b1.onRollOut = out;  
function over() {  
this.gotoAndPlay(2);  
}  
function out() {  
this.gotoAndPlay(5);  
}  
b2.onRollOver = over;  
b2.onRollOut = out;  
function over() {  
this.gotoAndPlay(2);  
}  
function out() {  
this.gotoAndPlay(5);  
}  
b3.onRollOver = over;  
b3.onRollOut = out;  
function over() {  
this.gotoAndPlay(2);  
}  
function out() {  
this.gotoAndPlay(5);  
}

However they are not functioning at all. Any ideas? Does the Action script need to be in the main time line and if so do i need to call reference to the buttons\_mc since they are within? and how do I code that? I have tried multiple variations but cant seem to get it. Thanks in advance.  
MT
