# Selected States for movieclip based buttons

**URL:** <https://forum.kirupa.com/t/selected-states-for-movieclip-based-buttons/149882>\
**Category:** flash\
**Created:** [June 2, 2005, 12:30am UTC](https://forum.kirupa.com/t/selected-states-for-movieclip-based-buttons/149882 "2005-06-02T00:30:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tranism](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tranism/32/269_2.png) [@tranism](https://forum.kirupa.com/u/tranism)\
**Post date:** [June 2, 2005, 12:30am UTC](https://forum.kirupa.com/t/selected-states-for-movieclip-based-buttons/149882/1 "2005-06-02T00:30:17Z")

</div>

Lets say I have a nav with 4 items that are blue. If I click on one, I want it to turn red and stay red to reflect that Im looking at content in that area. If I click another nav item, the previous turns back to blue while the newly selected one turns red.

I started to write a function and define a variable but I would like to see an example. Does anyone have one they can post?
