You can use timelines to define states and custom behaviors (or Symbol Actions) to control these states. For example you could define a timeline that turns a symbol blue and on that turns it red. Then add a custom behavior called 'blue' in the Symbol Inspector that starts the timeline blue. Finally your button can trigger the custom behavior in an on click action handler.
Alternatively you could have a button that plays a timeline which has Symbol Action to play the symbol's blue timeline.
Here is a quick example demonstrating the concepts:
states.zip (18.3 KB)