4 buttons -----> one function!

hi guys,
i’ve 4 buttons in the main root… :}
and if any of them clicked tell mc_main to gotoAndPlay(“mainon”).
mc_main is a movie clip contains from 20 frames if any buttons clicked it’s appear. :sure: and if i click on it .
… it disappear.
it’s ok for one button but if i clicked 2 or 3 buttons before click
on it.
so i create this function
[AS]onClipEvent (load) {
function homeClick() {
if (mc_main._currentframe == 10) {
// i don’t know what i’ve to write here
} else {
_root.mc_main.gotoAndPlay(“mainon”);
}
}
}[/AS]
it works greate but if the _currentframe ==10 what supose to happen:h: