Onclick stay highlighted flash button

I have developed a flash navigation for a particular web site. I created the button effect using a movie clip and some flash action script. The script I used for the buttons was something like below and adjusted to suit eaach button, five in total.


buttonOne.onRollOver = function() {
OK1 = true;
buttonOne.onRollOut = function() {
OK1 = false;
effectOne.onEnterFrame = function() {
if (OK1) {
} else {


The script works great. However I need to button highlighted when say the user is on home. And then when the user click the next button find out more, I wish for that button then to remain highlighted. My action script knowledge is very limited, so I would appreciate any directions people can shed light on.

If anyone can help please add your recomendations to this thread. Thanks

Trevor Saint