If then

Hey guys, I am working on a flash file for a site and I need a little guidance with the AS. I have three buttons, when the relating content is open, the button is in the open state. When a user clicks on another button, I want the initial button to play through the time line to get the normal state. I think I need to set some variables and have an if then statement on the button AS, but I can’t figure it out. Below is a link to a site that uses a similar file.


Thanks for the help!