# Navigation conflict with Tween class

**URL:** <https://forum.kirupa.com/t/navigation-conflict-with-tween-class/175977>\
**Category:** Uncategorized\
**Created:** [January 19, 2006, 11:00am UTC](https://forum.kirupa.com/t/navigation-conflict-with-tween-class/175977 "2006-01-19T11:00:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyrocker](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@skyrocker](https://forum.kirupa.com/u/skyrocker)\
**Post date:** [January 19, 2006, 11:00am UTC](https://forum.kirupa.com/t/navigation-conflict-with-tween-class/175977/1 "2006-01-19T11:00:11Z")

</div>

hello, i am building an expandable menu (you roll over the mouse, the menu slides showing the links, you take it off, the menu contracts to its original position). i am using tween classes on the menu buttons (which are actually movie clips) to change the appearance once you hover them.

the problem is, i have all the buttons inside one movieclip and when i apply a tween class to do the slide in and out effect, they stop working. is there a way for me to work around it? here are the codes:

// navbar menu (this is the whole mc containing the navigation)  
menu.onRollOver = function() {  
menu.slideTo(-6.3,null,0.5,“easeInQuad”,0);  
};  
menu.onRollOut = function(){  
menu.slideTo(-753.3,null,0.5,“easeInquad”,0);  
}

and the buttons would look like this,

// home button (actually a mc inside the navbar menu mc)  
home.onRollOver = function(){  
home.colorTo(0xFFFFFF,0.3,“linear”);  
}  
home.onRollOut = function(){  
home.colorTo(null,0.2,“linear”);  
}

thank u.
