Buttons madness

I am loading an swf (x.swf) into a level(2)and i want to disable all the buttons into
the movie clip(main) i am loading x into but i still want to have functionality on the button on
x.swf .
i did wrote this on the loadmovie button on the main
on (release) {
loadMovieNum(“x.swf”, 2);
Button.prototype.enabled = false;
}
how do i disable all the buttons on the main but at the same time able all the button on x while is loaded on top of the main?
and i am assuming that to able the buttons on my main i do this
on (release) {
unloadMovieNum(2);
Button.prototype.enabled = true;
}
i just don’t know how to do it tryed with _level but i couldn’t get it done.
there must be a simple way to do it but i am a total begginer and i just can’t figure it out.
Sorry for my english i hope i explain myself clearly.
thanking you all in advance for any tips on how to solve this problem
Max