HELP!plz...movie clip button ...u the best

So ive built some beautiful Mc’s and put invisible buttons inside so i could have button functionality…it works when u call _parent frames…but im tryin to load my .swf externaly … so what i did was just added the my actionscript on the invisible button…but it just disabled my functionalitly of the MC and told me i needs to be within a handler…which im pretty sure it is…and so i put my “AS” in main screen no error but i cant have it call the invisible button inside the movie clip…Heres the code…by the way this was takin from a tute here so my name im callin is different…Plz Help im in a spot with it.:ear:

b1.onRelease = function() {
if (_root.section != “profile.swf”) {
_root.section = “profile.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b2.onRelease = function() {
if (_root.section != “gallery.swf”) {
_root.section = “gallery.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b3.onRelease = function() {
if (_root.section != “photos.swf”) {
_root.section = “photos.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};