Currmovie buttons

hi,
how can i change the colour of a graphic in a button depending on which currMovie is loaded?

i.e., if the main graphic in each of my buttons is grey, but when ‘main.swf’ is loaded, the button that loads ‘main.swf’ turns blue?