# Navigation mc states; when clicked release other button

**URL:** <https://forum.kirupa.com/t/navigation-mc-states-when-clicked-release-other-button/182801>\
**Category:** Uncategorized\
**Created:** [March 21, 2006, 3:14pm UTC](https://forum.kirupa.com/t/navigation-mc-states-when-clicked-release-other-button/182801 "2006-03-21T15:14:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danknugs](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@danknugs](https://forum.kirupa.com/u/danknugs)\
**Post date:** [March 21, 2006, 3:14pm UTC](https://forum.kirupa.com/t/navigation-mc-states-when-clicked-release-other-button/182801/1 "2006-03-21T15:14:14Z")

</div>

Just wondering if anyone can help me with a navbar problem in flash mx 2004. My navbar consists of mc’s that act as buttons, when you rollover a moviclip an animation occurs, when clicked a movie loads(everything works fine loading the seperate movies). heres the link [http://members.shaw.ca/weslafrance/](http://members.shaw.ca/weslafrance/) i want the mcs to stay down when clicked, plus when another mc is clicked, i want the previous mc to reverse out. heres my actionscript in the first frame of the main movie:

home\_mc.onRollOut=function(){  
home\_mc.gotoAndPlay(“out”);  
};  
home\_mc.onRollOver=function(){  
home\_mc.gotoAndPlay(“over”);  
};  
home\_mc.onRelease=function(){  
loadMovie(“home\_test.swf”,1);  
};

about\_mc.onRollOut=function(){  
about\_mc.gotoAndPlay(“out”);  
};  
about\_mc.onRollOver=function(){  
about\_mc.gotoAndPlay(“over”);  
};  
about\_mc.onRelease=function(){  
loadMovie(“about\_test.swf”,1);  
};

services\_mc.onRollOut=function(){  
services\_mc.gotoAndPlay(“out”);  
};  
services\_mc.onRollOver=function(){  
services\_mc.gotoAndPlay(“over”);  
};  
services\_mc.onRelease=function(){  
loadMovie(“services\_test.swf”,1);  
};

gallery\_mc.onRollOut=function(){  
gallery\_mc.gotoAndPlay(“out”);  
};  
gallery\_mc.onRollOver=function(){  
gallery\_mc.gotoAndPlay(“over”);  
};  
gallery\_mc.onRelease=function(){  
loadMovie(“gallery\_test.swf”,1);  
};

estimates\_mc.onRollOut=function(){  
estimates\_mc.gotoAndPlay(“out”);  
};  
estimates\_mc.onRollOver=function(){  
estimates\_mc.gotoAndPlay(“over”);  
};  
estimates\_mc.onRelease=function(){  
loadMovie(“estimates\_test.swf”,1);  
}

contact\_mc.onRollOut=function(){  
contact\_mc.gotoAndPlay(“out”);  
};  
contact\_mc.onRollOver=function(){  
contact\_mc.gotoAndPlay(“over”);  
};  
contact\_mc.onRelease=function(){  
loadMovie(“contact\_test.swf”,1);  
}

hope someone can help, thanks in advance

---

<div class="post-metadata">

**Author:** ![danknugs](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@danknugs](https://forum.kirupa.com/u/danknugs)\
**Post date:** [March 23, 2006, 6:11am UTC](https://forum.kirupa.com/t/navigation-mc-states-when-clicked-release-other-button/182801/2 "2006-03-23T06:11:37Z")

</div>

i figured it out.

---

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [March 23, 2006, 7:16am UTC](https://forum.kirupa.com/t/navigation-mc-states-when-clicked-release-other-button/182801/3 "2006-03-23T07:16:18Z")

</div>

i was just wondering how to do that…  
could you tell me how please?
