Complicated external swf question

I’m designing a full browser website and need some help. I have an external menu .swf and another external .swf that has some content. I set it up so that pressing a button on the menu.swf loads the content into the main webpage .swf. But I’ve come across a problem because if the button on the menu is pressed again it will do the whole animation that is set up in the main webpage .swf that I don’t want played again. So is there some kind of actionscript I can put into the menu.swf that will say if the content.swf is loaded don’t allow this button to be pressed? Sorry if this is confusing, it’s really confusing to me because I’m new at this kind of stuff.