This content has been marked as final. Show 3 replies
The onRollOut function will reset the color unless you introduce something that inhibits it. You could use a variable that is set true/false and wrap it in a conditional around the code inside the onRollOut function...
Thanks for the reply. I have, for example got it so that services stays red once in that section, but when I go to gallery section, the services stay red. How do I get services to tween back to the rollout colour? I have attached my code of where I'm at.
Basically, you need to determine which button is the selected one and reset it when a new button is selected, but before you assign that newly selected button as being selected. See if you can devise something that both resets the button selected status to false and makes the textColor revert to the 0x999999 value.
Because you named each textfield differently, I'm going to avoid trying to generate the code for you, that complicates it a bit.