since you didnt post your fla, I’ll give you the basics, this is a simple way of doing it. You could go and do prototypes and functions and such, but I find that if you’re learning, this is a good way to practice your logic.
When you sit down to do your script, just sound it out in plain english. Write it down… kind of like this:
This is what I want:
All my buttons are blue.
When I click on one of the buttons
I want my blue button to turn light blue (highlight).
When I click on a different button,
I want all buttons to return to dark blue
and have the new button turn light blue.
…take those words and think out your script.
onRelease(){ when I click on one of the buttons
you can swap colors or change the rgb.
you will need button states or you will need to change each button. For example,
(oh, Im not going to give you actual code, since you made it hard on me )
onRelease(){
this.button.color=highlight
button1.color=normal
button2.color=normal
button4.color=normal.
if you click on button 1,
onRelease(){
this.button.color=highlight
button2.color=normal
button3.color=normal
button4.color=normal
etc…
give that shot!