If (_root.b = Frame1) Command?

Just a quick one, ok I have two mc’s (which contain a button)on the _root. Each MC has 30 frames. When I press MC1 on the main stage the MC1 moves to frame 15 and stops, but I need to check what frame MC2 is at, if it is at frame 1 then I don’t want any commands to effect it, if it is at frame 15 I want it to play ();

I thought this would work -

[AS]
if (_root.mc2 = Frame1) {
stop ();
} else {
play ();
}
[/AS]

But it does not, anyone know the command for this?

Thanks