Question about navigation

Hello… I have a quick question about building a navigation. How do I queue a movie to play both when clicking on a button and when clicking off the button on another button? I know how to do the movie when clicking on the button, but if someone clicks another button, how do I have a different movie play? For example, say I have 3 buttons. When one is clicked, it blinks red 3 times. Now if someone clicks another button, the 1st button they clicked blinks yellow 3 times (the part I’m unsure of how to do) and then the new button they pushed blinks red 3 times.