# Navigation, have link retain focus , actionscript?

**URL:** <https://forum.kirupa.com/t/navigation-have-link-retain-focus-actionscript/77340>\
**Category:** Uncategorized\
**Created:** [January 26, 2005, 4:37pm UTC](https://forum.kirupa.com/t/navigation-have-link-retain-focus-actionscript/77340 "2005-01-26T16:37:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leadtrum](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@leadtrum](https://forum.kirupa.com/u/leadtrum)\
**Post date:** [January 26, 2005, 4:37pm UTC](https://forum.kirupa.com/t/navigation-have-link-retain-focus-actionscript/77340/1 "2005-01-26T16:37:52Z")

</div>

okay i have a series of standard navigation buttons.

[COLOR=Gray]link 1 link 2 link 3[/COLOR]

these buttons load certain movie clips and what not. okay so the deal is i have them have the standard color change on rollover but what i want when the click on say link 1 is for it to change and stay like black for instance to represent what section the user is on.

link 1[COLOR=Gray] link 2 link 3[/COLOR]

basically its a navigation thing letting people know what section they’re on. it seems like a simple thing but all ones i’ve got to work are hacks and aren’t efficient at all.

is there a way to do this using global variables and a function instead of a long \*\*\* list of if then statements?
