XML Thumbnail Gallery/ Complex Rollover button effect

Hi everybody, this is my first time posting. I’ve been working on the XML Thumbnail gallery tutorial posted up and I wanted to know if it’s possible to make a complex rollover effect on an xml button? For example I would like to make this character { rotated 180 degrees above the button as a person highlights the button. How would I go about that.

Also can i add a shadow background to the button?

Thanks in advance